Use public-url ./ for parcel

This commit is contained in:
Adam Goldsmith 2018-08-01 10:13:43 +01:00
parent cd79de89e4
commit 8220194c29

View File

@ -18,7 +18,7 @@
"prestart": "npm run monkeyPatch", "prestart": "npm run monkeyPatch",
"start": "node_modules/.bin/parcel src/index.html", "start": "node_modules/.bin/parcel src/index.html",
"prebuild": "npm run monkeyPatch", "prebuild": "npm run monkeyPatch",
"build": "node_modules/.bin/parcel build src/index.html" "build": "node_modules/.bin/parcel build --public-url ./ src/index.html"
}, },
"author": "Adam Goldsmith <contact@adamgoldsmith.name>", "author": "Adam Goldsmith <contact@adamgoldsmith.name>",
"license": "ISC" "license": "ISC"