Make parcel generate relative path for scripts in dev

This commit is contained in:
Robbie Antenesse 2019-05-14 15:00:31 -06:00
parent 04176ef92f
commit 9a12f560c2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
"license": "UNLICENCED", "license": "UNLICENCED",
"scripts": { "scripts": {
"start": "concurrently \"npm run watch-js\" \"npm run watch-php\"", "start": "concurrently \"npm run watch-js\" \"npm run watch-php\"",
"watch-js": "parcel watch index.html", "watch-js": "parcel watch index.html --public-url ./",
"watch-php": "cpx src/php/**/* dist -v -w", "watch-php": "cpx src/php/**/* dist -v -w",
"bundle": "parcel build index.html && cpx src/php/**/* dist", "bundle": "parcel build index.html && cpx src/php/**/* dist",
"serve-frontend-only": "parcel index.html", "serve-frontend-only": "parcel index.html",