Sha256: ae7414e2bb38caea66d64f3ec1732d6ac19ac782d604c7241884a81d832b7d02

Contents?: true

Size: 554 Bytes

Versions: 28

Compression:

Stored size: 554 Bytes

Contents

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
"use strict";

const WebpackError = require("./WebpackError");

module.exports = class ModuleDependencyWarning extends WebpackError {
	constructor(module, err, loc) {
		super(err.message);

		this.name = "ModuleDependencyWarning";
		this.details = err.stack
			.split("\n")
			.slice(1)
			.join("\n");
		this.module = module;
		this.loc = loc;
		this.error = err;
		this.origin = module.issuer;

		Error.captureStackTrace(this, this.constructor);
	}
};

Version data entries

28 entries across 27 versions & 9 rubygems

Version Path
ezii-os-5.2.1 node_modules/webpack/lib/ModuleDependencyWarning.js
ezii-os-2.0.1 node_modules/webpack/lib/ModuleDependencyWarning.js
ezii-os-1.1.0 node_modules/webpack/lib/ModuleDependencyWarning.js
ezii-os-1.0.0 node_modules/webpack/lib/ModuleDependencyWarning.js
ezii-os-0.0.0.1.0 node_modules/webpack/lib/ModuleDependencyWarning.js
ezii-os-0.0.0.0.1 node_modules/webpack/lib/ModuleDependencyWarning.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/webpack/lib/ModuleDependencyWarning.js
locomotivecms-3.4.0 app/javascript/node_modules/webpack/lib/ModuleDependencyWarning.js