first commit
This commit is contained in:
15
build/node_modules/webpack-core/lib/ModuleWarning.js
generated
vendored
Normal file
15
build/node_modules/webpack-core/lib/ModuleWarning.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
MIT License http://www.opensource.org/licenses/mit-license.php
|
||||
Author Tobias Koppers @sokra
|
||||
*/
|
||||
function ModuleWarning(module, warning) {
|
||||
Error.call(this);
|
||||
Error.captureStackTrace(this, ModuleWarning);
|
||||
this.name = "ModuleWarning";
|
||||
this.module = module;
|
||||
this.message = warning;
|
||||
this.warning = warning;
|
||||
}
|
||||
module.exports = ModuleWarning;
|
||||
|
||||
ModuleWarning.prototype = Object.create(Error.prototype);
|
||||
Reference in New Issue
Block a user