fix: Add build:prod scripts to skip type generation during Docker builds
- Client and admin builds fail in Docker due to missing ../server directory - build:prod scripts bypass generate-types step for containerized builds - Local development still uses full build with type generation
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "npm run generate-types && vite",
|
||||
"build": "npm run generate-types && vue-tsc && vite build",
|
||||
"build:prod": "vue-tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"serve": "nodemon server.js",
|
||||
"start": "NODE_ENV=production node server.js",
|
||||
|
||||
Reference in New Issue
Block a user