Ignore node modules in webpack watch

cache
Varun Patil 2022-10-15 12:21:53 -07:00
parent 41112ad641
commit b9e4ebb5f7
1 changed files with 5 additions and 0 deletions

View File

@ -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