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:
parent
c8134173e1
commit
449554f6b6
1 changed files with 3 additions and 0 deletions
|
@ -4,4 +4,7 @@ set -e
|
|||
|
||||
source ./scripts/common.sh
|
||||
|
||||
# Expose environment variables so `parcel-bundler` can access them
|
||||
env > $BASEDIR/.env
|
||||
|
||||
./scripts/build.sh --minify
|
||||
|
|
Loading…
Reference in a new issue