fix(webpack): Always use browser debug

This commit is contained in:
Berkeley Martinez
2017-01-08 13:44:30 -08:00
parent 09b62bcbcf
commit 9e63ff02cf

View File

@ -54,6 +54,11 @@ module.exports = {
}, },
__DEVTOOLS__: !__DEV__ __DEVTOOLS__: !__DEV__
}), }),
// Use browser version of visionmedia-debug
new webpack.NormalModuleReplacementPlugin(
/debug\/node/,
'debug/src/browser'
),
new webpack.optimize.DedupePlugin(), new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(true) new webpack.optimize.OccurenceOrderPlugin(true)
] ]