mirror of
https://github.com/NotAShelf/nix-evaluator-stats.git
synced 2026-04-27 20:35:21 +00:00
packages/web: fix lucide github; optimize Vite deps in dev mode
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I75110e204c8eda63096bcfed619a6f5c6a6a6964
This commit is contained in:
parent
4b7a01aecc
commit
6ec645f3de
10 changed files with 1080 additions and 402 deletions
|
|
@ -1,8 +1,16 @@
|
|||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue