Skip to content

Commit

Permalink
disable node modules in webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mad-gooze committed Feb 2, 2019
1 parent 79cf74f commit c854d1f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion webpack.config.js
Expand Up @@ -205,7 +205,15 @@ const multiConfig = [
optimization: {
minimize: true
},
devtool: 'source-map'
devtool: 'source-map',
node: {
global: false,
process: false,
__filename: false,
__dirname: false,
Buffer: false,
setImmediate: false
}
}
].map(config => merge(baseConfig, config));

Expand Down

0 comments on commit c854d1f

Please sign in to comment.