aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/ModuleNotFoundError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/ModuleNotFoundError.js')
-rw-r--r--node_modules/webpack/lib/ModuleNotFoundError.js49
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;