chore(tools): Move to webpack v4
This commit is contained in:
committed by
mrugesh mohapatra
parent
60719fcbe6
commit
af8030c1d1
@@ -12,6 +12,7 @@ module.exports = {
|
||||
bundle: './client'
|
||||
},
|
||||
devtool: __DEV__ ? 'inline-source-map' : 'source-map',
|
||||
mode: __DEV__ ? 'development' : 'production',
|
||||
node: {
|
||||
// Mock Node.js modules that Babel require()s but that we don't
|
||||
// particularly care about.
|
||||
@@ -46,10 +47,6 @@ module.exports = {
|
||||
].filter(Boolean)
|
||||
}]
|
||||
},
|
||||
externals: {
|
||||
codemirror: 'CodeMirror',
|
||||
'loop-protect': 'loopProtect'
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
|
Reference in New Issue
Block a user