12345678910111213141516171819202122232425 |
- "use strict";
- const NoModeWarning = require("./NoModeWarning");
- class WarnNoModeSetPlugin {
-
- apply(compiler) {
- compiler.hooks.thisCompilation.tap("WarnNoModeSetPlugin", compilation => {
- compilation.warnings.push(new NoModeWarning());
- });
- }
- }
- module.exports = WarnNoModeSetPlugin;
|