mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
sample(webpack): add watch ignore plugin
This commit is contained in:
@@ -11,6 +11,9 @@ module.exports = function(options, webpack) {
|
||||
],
|
||||
plugins: [
|
||||
...options.plugins,
|
||||
new webpack.WatchIgnorePlugin({
|
||||
paths: [/\.js$/, /\.d\.ts$/],
|
||||
}),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user