mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Fix
This commit is contained in:
parent
f2174868cc
commit
23558ba682
@ -5,12 +5,11 @@ set -e
|
||||
|
||||
BUILD_DIR='./build'
|
||||
|
||||
say "Starting build"
|
||||
echo "-- REMOVING DIST FOLDER --"
|
||||
rm -r "$BUILD_DIR"
|
||||
|
||||
echo "-- BUILDING PRODUCTION APP --"
|
||||
cross-env NODE_ENV=production node -r babel-register webpack --config ./webpack/webpack.config.production.js
|
||||
cross-env NODE_ENV=production node -r babel-register ./node_modules/.bin/webpack --config ./webpack/webpack.config.production.js
|
||||
|
||||
echo "-- COPYING REMAINING FILES --"
|
||||
|
||||
@ -29,4 +28,3 @@ cd "$BUILD_DIR"/
|
||||
cross-env NODE_ENV=production npm install
|
||||
|
||||
echo "-- BUILD COMPLETE --"
|
||||
say "Build complete"
|
||||
|
Loading…
Reference in New Issue
Block a user