diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/webpack/lib/ModuleNotFoundError.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/webpack/lib/ModuleNotFoundError.js')
-rw-r--r-- | node_modules/webpack/lib/ModuleNotFoundError.js | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/node_modules/webpack/lib/ModuleNotFoundError.js b/node_modules/webpack/lib/ModuleNotFoundError.js index 454cd48bf..cdfc3147b 100644 --- a/node_modules/webpack/lib/ModuleNotFoundError.js +++ b/node_modules/webpack/lib/ModuleNotFoundError.js @@ -1,26 +1,23 @@ -/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-class ModuleNotFoundError extends WebpackError {
- constructor(module, err, dependencies) {
- super();
-
- this.name = "ModuleNotFoundError";
- this.message = "Module not found: " + err;
- this.details = err.details;
- this.missing = err.missing;
- this.module = module;
- this.origin = module;
- this.dependencies = dependencies;
- this.error = err;
-
- Error.captureStackTrace(this, this.constructor);
- }
-}
-
-module.exports = ModuleNotFoundError;
+/* + MIT License http://www.opensource.org/licenses/mit-license.php + Author Tobias Koppers @sokra +*/ +"use strict"; + +const WebpackError = require("./WebpackError"); + +class ModuleNotFoundError extends WebpackError { + constructor(module, err) { + super("Module not found: " + err); + + this.name = "ModuleNotFoundError"; + this.details = err.details; + this.missing = err.missing; + this.module = module; + this.error = err; + + Error.captureStackTrace(this, this.constructor); + } +} + +module.exports = ModuleNotFoundError; |