Projekt

Obecné

Profil

Stáhnout (391 Bajtů) Statistiky
| Větev: | Revize:
1 3a515b92 cagy
/*
2
	MIT License http://www.opensource.org/licenses/mit-license.php
3
	Author Tobias Koppers @sokra
4
*/
5
"use strict";
6
7
const NoModeWarning = require("./NoModeWarning");
8
9
class WarnNoModeSetPlugin {
10
	apply(compiler) {
11
		compiler.hooks.thisCompilation.tap("WarnNoModeSetPlugin", compilation => {
12
			compilation.warnings.push(new NoModeWarning());
13
		});
14
	}
15
}
16
17
module.exports = WarnNoModeSetPlugin;