Fixed clean script to use dist directory

no-issue
This commit is contained in:
Fabien O'Carroll 2019-05-07 14:53:57 +02:00
parent fd07779c1e
commit 3679f10783

View File

@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"dev": "yarn build --no-production && preact watch --port=8080",
"clean": "rm -rf build && mkdir build",
"clean": "rm -rf dist && mkdir dist",
"prebuild": "npm run clean",
"build": "preact build --template=index.html --src=app.js --dest=dist --service-worker=false --no-prerender",
"prepublishOnly": "npm run build",