NewWatchingPlugin.js 370B

12345678910111213141516
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. class NewWatchingPlugin {
  7. apply(compiler) {
  8. compiler.plugin("compilation", function(compilation) {
  9. compilation.warnings.push(new Error("The 'NewWatchingPlugin' is no longer necessary (now default)"));
  10. });
  11. }
  12. }
  13. module.exports = NewWatchingPlugin;