We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63ed777 + 37b837d commit faefe01Copy full SHA for faefe01
.github/workflows/ci.yml
@@ -31,7 +31,7 @@ jobs:
31
env:
32
NODE_ENV: production
33
VITE_MODE: production
34
- run: npm run build -- --mode production
+ run: npm run build
35
36
- name: Check built files (Debugging)
37
run: grep -r "import.meta.env.MODE" dist/ || echo "No env mode found in built files"
package.json
@@ -5,7 +5,7 @@
5
"type": "module",
6
"scripts": {
7
"dev": "vite --mode development",
8
- "build": "vite build",
+ "build": "vite build --mode production",
9
"lint": "eslint .",
10
"preview": "vite preview",
11
"start": "vite --port 3000"
0 commit comments