feat: support build and runtime ENV configuration
This commit is contained in:
7 files changed
+186
-13
No files matched your search
+2
-1
@@ -8,7 +8,8 @@
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"config:runtime": "node scripts/write-runtime-config.js",
|
||||
"start": "npm run config:runtime && vite preview --host 0.0.0.0"
|
||||
"start": "npm run config:runtime && vite preview --host 0.0.0.0",
|
||||
"test": "node --test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^8.3.4"
|
||||
|
||||
Reference in new issue
Block a user