Ignore node modules in webpack watch
parent
41112ad641
commit
b9e4ebb5f7
|
@ -16,4 +16,9 @@ webpackConfig.resolve.alias = {
|
|||
webpackConfig.entry.main = path.resolve(path.join('src', 'main'));
|
||||
delete webpackConfig.optimization.splitChunks;
|
||||
|
||||
webpackConfig.watchOptions = {
|
||||
ignored: /node_modules/,
|
||||
aggregateTimeout: 300,
|
||||
};
|
||||
|
||||
module.exports = webpackConfig
|
||||
|
|
Loading…
Reference in New Issue