Specify public URL for parcel builds

This commit is contained in:
Patrick Smith 2018-08-03 13:17:45 -04:00 committed by richard-dds
parent e2be6d05f4
commit 8d2fe8ca9c

View File

@ -4,8 +4,8 @@
"description": "ATST Stateless Services", "description": "ATST Stateless Services",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"watch": "parcel watch js/index.js -d static/assets -o index.js --no-autoinstall", "watch": "parcel watch js/index.js -d static/assets --public-url /static/assets -o index.js --no-autoinstall",
"build": "parcel build js/index.js -d static/assets -o index.js", "build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "author": "",