security(web): sanitize runtime map config

This commit is contained in:
lingniu
2026-07-16 03:15:25 +08:00
parent 4be4aaf265
commit 01150844df
7 changed files with 48 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0 --port 20301",
"build": "tsc -b && vite build && node scripts/verify-build.mjs",
"build": "tsc -b && vite build && node scripts/prepare-dist.mjs && node scripts/verify-build.mjs",
"test": "vitest run --exclude src/test/App.test.tsx",
"test:legacy": "vitest run src/test/App.test.tsx",
"test:all": "vitest run"