change build script
This commit is contained in:
parent
bcde60a2d8
commit
6e891f9633
@ -5,8 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel src/index.html",
|
"dev": "parcel src/index.html",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"build:parcel": "parcel build ./src/index.html --public-url ./ --no-source-maps",
|
"build": "parcel build src/index.html",
|
||||||
"build": "npm run clean && npm run build:parcel",
|
"start": "parcel",
|
||||||
"clean": "rm -rf dist/*"
|
"clean": "rm -rf dist/*"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user