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