Skip to content

Commit

Permalink
chore(build): set production environment
Browse files Browse the repository at this point in the history
build:min is not setting production environment.
  • Loading branch information
deini committed Aug 9, 2017
1 parent 90abd7d commit 34484e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "npm run build:lib && npm run build:min && npm run build:max",
"build:lib": "rm -rf lib && babel src --out-dir lib",
"build:min": "webpack --optimize-minimize lib/index.js dist/ng-redux.min.js",
"build:min": "webpack --optimize-minimize --define process.env.NODE_ENV=\"'production'\" lib/index.js dist/ng-redux.min.js",
"build:max": "webpack lib/index.js dist/ng-redux.js",
"test": "mocha --compilers js:babel-register --recursive"
},
Expand Down

0 comments on commit 34484e5

Please sign in to comment.