From 9a12f560c2738e4e183c0388dd31dc1facc64de1 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Tue, 14 May 2019 15:00:31 -0600 Subject: [PATCH] Make parcel generate relative path for scripts in dev --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d1699a..4bf3784 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "UNLICENCED", "scripts": { "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", "bundle": "parcel build index.html && cpx src/php/**/* dist", "serve-frontend-only": "parcel index.html",