parent
e28a195294
commit
38ac00b704
|
@ -52,7 +52,7 @@ if (ops.watch) {
|
|||
const time = new Date().toTimeString().split(' ')[0];
|
||||
process.stdout.write(`${ time } Build started\n`);
|
||||
});
|
||||
compiler.watch({}, process_result);
|
||||
compiler.watch(config.watchOptions, process_result);
|
||||
} else {
|
||||
compiler.run(process_result);
|
||||
}
|
||||
|
|
|
@ -401,6 +401,10 @@ module.exports = {
|
|||
maxEntrypointSize: 20000000,
|
||||
},
|
||||
|
||||
watchOptions: {
|
||||
ignored: /node_modules/
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue