feat: add flask dev mode and optimize SVG handling

- Optimize SVG loading using import.meta.glob and manual chunking
This commit is contained in:
2025-10-28 15:28:56 +08:00
parent ba569dafad
commit 303715f82c
6 changed files with 57 additions and 12 deletions

View File

@@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"dev:flask": "vite --mode flask",
"build": "tsc -b && vite build",
"build:flask": "tsc -b && vite build --mode flask",
"lint": "eslint .",