2018-05-27 12:27:52 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source ./scripts/common.sh
|
|
|
|
|
2019-11-01 23:31:04 +00:00
|
|
|
# Expose environment variables so `parcel-bundler` can access them
|
|
|
|
env > $BASEDIR/.env
|
|
|
|
|
2019-10-27 22:40:52 +00:00
|
|
|
./scripts/build.sh --minify
|
2020-09-02 20:43:00 +01:00
|
|
|
|
|
|
|
gzipper compress -e gz --verbose $OUTPUT_DIR $OUTPUT_DIR
|
|
|
|
|
|
|
|
rm -f $BASEDIR/.env
|