1
Fork 0

Hack around the lack of raw environment support in parcel

It only supports env files, so let's make one when creating a production build
This commit is contained in:
Jake Howard 2019-11-01 23:31:04 +00:00
parent c8134173e1
commit 449554f6b6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,4 +4,7 @@ set -e
source ./scripts/common.sh source ./scripts/common.sh
# Expose environment variables so `parcel-bundler` can access them
env > $BASEDIR/.env
./scripts/build.sh --minify ./scripts/build.sh --minify