Skip to content

Commit

Permalink
fixed webpack_if_prod script - can now run on OSX host machines with …
Browse files Browse the repository at this point in the history
…no problem
  • Loading branch information
gsidebo committed May 23, 2016
1 parent e575214 commit 818ed3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack_if_prod.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euf -o pipefail
if [[ "$NODE_ENV" != "development" ]]
set -ef -o pipefail
if [[ "$NODE_ENV" != "" && "$NODE_ENV" != "development" ]]
then
node node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --bail
fi

0 comments on commit 818ed3d

Please sign in to comment.