Ignore node modules in webpack watch
parent
ea49c4430d
commit
6be7c76d81
|
@ -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