Fix environment-specific builds.

This commit is contained in:
jdb committed 2020-02-09 03:40:49 -06:00
1 parent c28eb7b240
commit 8ac1cdf476
6 files changed
+10 -10

No files matched your search

+1 -7
View File
@@ -1,11 +1,5 @@
build:
pwd; \
. .env.${TARGET_ENV}; \
echo "Using API URL: ${VUE_APP_PM_API_BASE}"; \
npm run build
npm run build-${TARGET_ENV}
serve:
VUE_APP_PM_API_BASE=/api \
VUE_APP_API_LOG_LEVEL=WARN \
VUE_APP_LOG_LEVEL=TRACE \
npm run serve