update vite, add analyzer

This commit is contained in:
Samuel Newman
2026-05-13 13:39:46 +03:00
parent 7cb3499c2a
commit de99bc2cc5
4 changed files with 417 additions and 656 deletions
+5 -4
View File
@@ -7,6 +7,7 @@
"dev-snippet": "tsc --project tsconfig.snippet.json && serve -s dist -p 3000 -n",
"build": "tsc && vite build",
"build-snippet": "tsc --project tsconfig.snippet.json",
"analyze": "ANALYZE=1 vite build",
"lint": "eslint --cache src",
"typecheck": "tsc --noEmit",
"format": "prettier -w src"
@@ -18,7 +19,7 @@
"devDependencies": {
"@eslint/js": "^9.18.0",
"@preact/preset-vite": "^2.10.2",
"@vitejs/plugin-legacy": "^7.0.0",
"@vitejs/plugin-legacy": "^8.0.1",
"autoprefixer": "^10.4.19",
"eslint": "^9.18.0",
"eslint-plugin-import-x": "^4.16.2",
@@ -29,10 +30,10 @@
"serve": "^14.2.5",
"tailwindcss": "^3.4.3",
"terser": "^5.43.1",
"typescript": "^5.8.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.20.0",
"vite": "^7.0.4",
"vite-tsconfig-paths": "^5.1.4"
"vite": "^8.0.12",
"vite-bundle-analyzer": "^1.3.8"
},
"resolutions": {
"@types/estree": "1.0.6"