Merge pull request #41 from stevenyap/patch-2
Update package.json build-prod script
This commit is contained in:
commit
92ff305c61
@ -9,6 +9,6 @@
|
||||
"build": "spago build",
|
||||
"test": "spago test",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user