在 監控模式 中,忽略指定檔案,例如與提供的路徑或正規表示式相符的檔案。
new webpack.WatchIgnorePlugin({ paths });
paths
Array<string | RegExp>