fix: package.json

add npm run build to build static page for serving
This commit is contained in:
c4lyp5o
2023-11-12 08:19:32 +08:00
parent 85e4cd6e92
commit 88f8d04edb

View File

@@ -11,7 +11,7 @@
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"build": "vite build",
"start": "cd backend && node server.js"
"start": "npm run build && cd backend && node server.js"
},
"dependencies": {
"@emotion/react": "^11.10.6",