Sha256: 37d323c7721bfc36a86139c505a55d07f2188a64a1ec75f650a32d8ae06ad4b6

Contents?: true

Size: 628 Bytes

Versions: 10

Compression:

Stored size: 628 Bytes

Contents

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

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

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

		this.name = "ModuleDependencyWarning";
		this.message = `${formatLocation(loc)} ${err.message}`;
		this.details = err.stack.split("\n").slice(1).join("\n");
		this.origin = this.module = module;
		this.error = err;

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

Version data entries

10 entries across 6 versions & 3 rubygems

Version Path
ilog-0.4.1 node_modules/webpack/lib/ModuleDependencyWarning.js
ilog-0.4.0 node_modules/webpack/lib/ModuleDependencyWarning.js
ilog-0.3.3 node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.3 spec/dummy/node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.2 spec/dummy/node_modules/webpack/lib/ModuleDependencyWarning.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/ModuleDependencyWarning.js
cortex-0.1.3 spec/dummy/node_modules/webpack/lib/ModuleDependencyWarning.js