Update package.json build-prod script

Fix #40
master
Steven Yap 2023-01-10 13:45:27 +08:00 committed by GitHub
parent 9cc04eacd1
commit aabfecadc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@
"build": "spago build", "build": "spago build",
"test": "spago test", "test": "spago test",
"serve": "parcel dev/index.html --open", "serve": "parcel dev/index.html --open",
"build-prod": "mkdir -p prod && cp dev/index.html prod/ && rm -rf dist && spago bundle-app --to prod/index.js && parcel build prod/index.html" "build-prod": "rm -rf prod && mkdir -p prod && cp dev/index.html prod/ && spago bundle-app --to prod/index.js && parcel build prod/index.html"
} }
} }