Sha256: 2a22e3f93446e16f67977d6dc3ceca5fb02d83f9cf06337b0d04fb8709023ed6

Contents?: true

Size: 563 Bytes

Versions: 13

Compression:

Stored size: 563 Bytes

Contents

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
"use strict";
const ModuleDependency = require("./ModuleDependency");
const ModuleDependencyTemplateAsId = require("./ModuleDependencyTemplateAsId");

class CommonJsRequireDependency extends ModuleDependency {
	constructor(request, range) {
		super(request);
		this.range = range;
	}

	get type() {
		return "cjs require";
	}
}

CommonJsRequireDependency.Template = ModuleDependencyTemplateAsId;

module.exports = CommonJsRequireDependency;

Version data entries

13 entries across 9 versions & 6 rubygems

Version Path
ilog-0.4.1 node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
ilog-0.4.0 node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
ilog-0.3.3 node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.3 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.3 spec/dummy/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.2 spec/dummy/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
locomotivecms-3.4.0 app/javascript/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
cortex-0.1.3 spec/dummy/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
dragonfly_puppeteer-0.1.0 node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js
lanes-0.8.0 node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js