fix: webui build

This commit is contained in:
手瓜一十雪
2024-05-05 15:17:17 +08:00
parent f95db623a5
commit 31fe2f6da4
13 changed files with 413 additions and 6 deletions

View File

@@ -10,6 +10,7 @@
"build:prod": "vite build --mode production",
"build": "npm run build:dev",
"build:core": "cd ./src/core && npm run build && cd ../.. && node ./script/copy-core.cjs",
"build:webui": "cd ./src/webui && vite build",
"watch": "npm run watch:dev",
"debug-win": "powershell dist/napcat.ps1",
"lint": "eslint --fix src/**/*.{js,ts}",