Sha256: 07b229f058b4c0d8467f806fc4bad9da41b1da4487467a62646cbed5c7dff947

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Sean Larkin @thelarkinn
*/
"use strict";

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

module.exports = class AsyncDependencyToInitialChunkWarning extends WebpackError {
	constructor(chunkName, module, loc) {
		super();

		this.name = "AsyncDependencyToInitialChunkWarning";
		this.message = `It's not allowed to load an initial chunk on demand. The chunk name "${chunkName}" is already used by an entrypoint.`;
		this.module = module;
		this.origin = module;
		this.originLoc = loc;

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/AsyncDependencyToInitialChunkWarning.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/AsyncDependencyToInitialChunkWarning.js
cortex-0.1.3 spec/dummy/node_modules/webpack/lib/AsyncDependencyToInitialChunkWarning.js