Include site origin in build

This commit is contained in:
Jake Archibald
2021-07-27 11:30:58 +01:00
parent 3d4c62fede
commit 0ed7ef842f
3 changed files with 22 additions and 5 deletions

View File

@@ -6,9 +6,9 @@
"scripts": {
"build": "rollup -c && node lib/move-output.js",
"debug": "node --inspect-brk node_modules/.bin/rollup -c",
"dev": "run-p watch serve",
"dev": "DEV_PORT=\"${DEV_PORT:=5000}\" run-p watch serve",
"watch": "rollup -cw",
"serve": "serve --config ../../../serve.json .tmp/build/static"
"serve": "serve --listen=$DEV_PORT --config ../../../serve.json .tmp/build/static"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",