Skip to content

Commit

Permalink
Merge pull request #147 from deini/set-node-env-prod
Browse files Browse the repository at this point in the history
chore(build): set production environment
  • Loading branch information
AntJanus authored Aug 15, 2017
2 parents 90abd7d + 34484e5 commit 8c8a3fb
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 8c8a3fb

Please sign in to comment.