mirror of
https://github.com/NotAShelf/nix-evaluator-stats.git
synced 2026-04-27 20:35:21 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I75110e204c8eda63096bcfed619a6f5c6a6a6964
23 lines
535 B
TypeScript
23 lines
535 B
TypeScript
import { defineConfig } from 'vite';
|
|
import solidPlugin from 'vite-plugin-solid';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
export default defineConfig({
|
|
plugins: [solidPlugin()],
|
|
resolve: {
|
|
alias: {
|
|
'lucide-solid/icons': fileURLToPath(
|
|
new URL('./node_modules/lucide-solid/dist/source/icons', import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
base: process.env.GITHUB_PAGES ? '/nix-evaluator-stats/' : './',
|
|
server: {
|
|
port: 3000,
|
|
open: false,
|
|
},
|
|
build: {
|
|
target: 'esnext',
|
|
outDir: 'dist',
|
|
},
|
|
});
|