mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 08:00:18 +00:00
vite: fix docker build (#2738)
## Description: The sync-assets wasn't executing on docker-build. so instead just import it from resources/ directory, vite logs a warning but I think that's okay for now. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
+1
-8
@@ -20,14 +20,7 @@
|
||||
"lint:fix": "eslint --fix",
|
||||
"prepare": "husky",
|
||||
"gen-maps": "cd map-generator && go run . && npm run format",
|
||||
"inst": "npm ci --ignore-scripts",
|
||||
"sync-assets": "node scripts/sync-assets.mjs",
|
||||
"predev": "npm run sync-assets",
|
||||
"prebuild-dev": "npm run sync-assets",
|
||||
"prebuild-prod": "npm run sync-assets",
|
||||
"prestart:client": "npm run sync-assets",
|
||||
"pretest": "npm run sync-assets",
|
||||
"pretest:coverage": "npm run sync-assets"
|
||||
"inst": "npm ci --ignore-scripts"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*": [
|
||||
|
||||
Reference in New Issue
Block a user