Sha256: 7a17f07edbe43d36216d908415159f82b70daad824073c6f83fad7c91bed4544

Contents?: true

Size: 691 Bytes

Versions: 3

Compression:

Stored size: 691 Bytes

Contents

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

class RequireContextDependency extends ContextDependency {
	constructor(request, recursive, regExp, asyncMode, range) {
		super(request, recursive, regExp);
		this.range = range;

		if(asyncMode) {
			this.async = asyncMode;
		}
	}

	get type() {
		return "require.context";
	}
}

RequireContextDependency.Template = ModuleDependencyTemplateAsRequireId;

module.exports = RequireContextDependency;

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/dependencies/RequireContextDependency.js
optimacms-0.4.2 spec/dummy/node_modules/@rails/webpacker/node_modules/webpack/lib/dependencies/RequireContextDependency.js
cortex-0.1.3 spec/dummy/node_modules/webpack/lib/dependencies/RequireContextDependency.js