Browse Source

Prevent env pollution

master
Thibaut Boustany 7 years ago
parent
commit
36a747f667
No known key found for this signature in database GPG Key ID: 32475B11A2B13EEC
  1. 10
      scripts/compile.sh

10
scripts/compile.sh

@ -2,11 +2,11 @@
set -e set -e
export GIT_REVISION=`git rev-parse HEAD` GIT_REVISION=`git rev-parse HEAD`
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561 SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561
NODE_ENV=production
rm -rf ./node_modules/.cache dist rm -rf ./node_modules/.cache dist
yarn yarn
rm -rf dist && yarn run webpack-cli --mode production --config webpack/internals.config.js
NODE_ENV=production yarn run webpack-cli --mode production --config webpack/internals.config.js && yarn run electron-webpack
NODE_ENV=production yarn run electron-webpack

Loading…
Cancel
Save