Skip to content

Commit

Permalink
load webpack environment in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduan committed Aug 27, 2017
1 parent 83d3877 commit 46fc6a9
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({ production: true })),
new webpack.DefinePlugin(loadEnv()), // load development env so PropTypes are left alone for the Info Addon
new webpack.optimize.UglifyJsPlugin({
compress: {
screw_ie8: true,
Expand Down

0 comments on commit 46fc6a9

Please sign in to comment.