Skip to content

Commit 02a23d9

Browse files
committed
removed DefinePlugin because it wasn't working
1 parent 518ebc5 commit 02a23d9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

webpack/webpack.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export default {
2222
}),
2323
new webpack.HotModuleReplacementPlugin(),
2424
new webpack.NoEmitOnErrorsPlugin(),
25-
new webpack.DefinePlugin({
26-
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
27-
}),
2825
],
2926
module: {
3027
loaders: [

webpack/webpack.production.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export default {
3838
source: false,
3939
modules: false,
4040
}),
41-
new webpack.DefinePlugin({
42-
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'),
43-
}),
4441
new webpack.ContextReplacementPlugin(/moment[/\\]locale$/, /en/),
4542
],
4643
module: {

0 commit comments

Comments
 (0)