Fix webapp and jipt compile in heroku

This commit is contained in:
Simon Prévost 2019-07-24 12:59:40 -04:00
parent 62569055bd
commit 16b3ad5c9d
3 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,3 @@
cd $phoenix_dir
npm --prefix ./webapp run build-production
npm --prefix ./webapp run build-heroku
npm --prefix ./jipt run build-heroku

View File

@ -6,6 +6,7 @@
"scripts": {
"build": "parcel index.html",
"build-production": "parcel build index.ts --out-dir=jipt-dist --target browser --experimental-scope-hoisting",
"build-heroku": "parcel build index.ts --out-dir=../priv/static/jipt --target browser --experimental-scope-hoisting",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],

View File

@ -15,6 +15,7 @@
"scripts": {
"start": "ember server --port $WEBAPP_PORT",
"build": "ember build --output-path=../priv/static/webapp",
"build-heroku": "ember build --prod --output-path=../priv/static/webapp",
"build-production": "ember build --prod --output-path=webapp-dist",
"test": "ember test"
},