change build script

This commit is contained in:
Halit Aksoy 2022-07-31 17:38:12 +03:00
parent bcde60a2d8
commit 6e891f9633

View File

@ -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": [],