Skip to content

Commit

Permalink
Revert "load webpack environment in dev"
Browse files Browse the repository at this point in the history
This reverts commit 46fc6a9.
  • Loading branch information
danielduan committed Aug 27, 2017
1 parent cbd24f1 commit 2c42ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react/src/server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function() {
publicPath: '',
},
plugins: [
new webpack.DefinePlugin(loadEnv()), // load development env so PropTypes are left alone for the Info Addon
new webpack.DefinePlugin(loadEnv({ production: true })),
new webpack.optimize.UglifyJsPlugin({
compress: {
screw_ie8: true,
Expand Down

0 comments on commit 2c42ec3

Please sign in to comment.