WatchIgnorePlugin

Ignore the specified files, i.e. those matching the provided paths or regular expressions, while in watch mode.

new webpack.WatchIgnorePlugin({ paths });

Options

  • paths (Array<string | RegExp>): A list of RegExps or absolute paths to directories or files that should be ignored.

3 Contributors

skipjackbyzykEugeneHlushko

Webpack 5 has been officially released. Read our announcement. Not ready yet? Read webpack 4 documentation here.