From e99f950f5018cfe737c0d1150e50d97c6e6a4823 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 1 Nov 2023 20:49:36 +0800 Subject: update --- node_modules/webpack/lib/WarnNoModeSetPlugin.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 node_modules/webpack/lib/WarnNoModeSetPlugin.js (limited to 'node_modules/webpack/lib/WarnNoModeSetPlugin.js') diff --git a/node_modules/webpack/lib/WarnNoModeSetPlugin.js b/node_modules/webpack/lib/WarnNoModeSetPlugin.js deleted file mode 100644 index b8685f03..00000000 --- a/node_modules/webpack/lib/WarnNoModeSetPlugin.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ - -"use strict"; - -const NoModeWarning = require("./NoModeWarning"); - -/** @typedef {import("./Compiler")} Compiler */ - -class WarnNoModeSetPlugin { - /** - * Apply the plugin - * @param {Compiler} compiler the compiler instance - * @returns {void} - */ - apply(compiler) { - compiler.hooks.thisCompilation.tap("WarnNoModeSetPlugin", compilation => { - compilation.warnings.push(new NoModeWarning()); - }); - } -} - -module.exports = WarnNoModeSetPlugin; -- cgit v1.2.3