mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
webpack: Don’t watch node_modules for changes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7264d44dd4
commit
82106faf6c
@@ -261,13 +261,14 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
||||
publicPath: "/webpack/",
|
||||
stats: "errors-only",
|
||||
noInfo: true,
|
||||
},
|
||||
watchOptions: {
|
||||
ignored: [
|
||||
// Prevent Emacs file locks from crashing webpack-dev-server
|
||||
// https://github.com/webpack/webpack-dev-server/issues/2821
|
||||
"**/.#*",
|
||||
],
|
||||
watchOptions: {
|
||||
ignored: [
|
||||
"**/node_modules/**",
|
||||
// Prevent Emacs file locks from crashing webpack-dev-server
|
||||
// https://github.com/webpack/webpack-dev-server/issues/2821
|
||||
"**/.#*",
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user