Sha256: f14cbaed2cd6fd546975edc495fe70469ffacbf80bb28701eb22678b80ec0c95
Contents?: true
Size: 741 Bytes
Versions: 62
Compression:
Stored size: 741 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function MovedToPluginWarningPlugin(optionName, pluginName) { this.optionName = optionName; this.pluginName = pluginName } module.exports = MovedToPluginWarningPlugin; MovedToPluginWarningPlugin.prototype.apply = function(compiler) { var optionName = this.optionName; var pluginName = this.pluginName compiler.plugin("compilation", function(compilation) { compilation.warnings.push(new Error("webpack options:\nDEPRECATED option '" + optionName + "' will be moved to the " + pluginName + ". Use this instead.\nFor more info about the usage of the " + pluginName + " see http://webpack.github.io/docs/list-of-plugins.html")); }); };
Version data entries
62 entries across 62 versions & 1 rubygems