aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/NewWatchingPlugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/NewWatchingPlugin.js')
-rw-r--r--node_modules/webpack/lib/NewWatchingPlugin.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/webpack/lib/NewWatchingPlugin.js b/node_modules/webpack/lib/NewWatchingPlugin.js
new file mode 100644
index 000000000..29e2fa326
--- /dev/null
+++ b/node_modules/webpack/lib/NewWatchingPlugin.js
@@ -0,0 +1,15 @@
+/*
+ MIT License http://www.opensource.org/licenses/mit-license.php
+ Author Tobias Koppers @sokra
+*/
+"use strict";
+
+class NewWatchingPlugin {
+ apply(compiler) {
+ compiler.plugin("compilation", function(compilation) {
+ compilation.warnings.push(new Error("The 'NewWatchingPlugin' is no longer necessary (now default)"));
+ });
+ }
+}
+
+module.exports = NewWatchingPlugin;