Skip to content

Commit

Permalink
removed DefinePlugin because it wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
mldangelo committed Mar 19, 2017
1 parent 518ebc5 commit 02a23d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export default {
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
}),
],
module: {
loaders: [
Expand Down
3 changes: 0 additions & 3 deletions webpack/webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ export default {
source: false,
modules: false,
}),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'),
}),
new webpack.ContextReplacementPlugin(/moment[/\\]locale$/, /en/),
],
module: {
Expand Down

0 comments on commit 02a23d9

Please sign in to comment.