Sha256: c61b412c1d2a54b6f9b67e84661d22d8a57f1ff13ffb83f36999dccaeaf8c562

Contents?: true

Size: 475 Bytes

Versions: 10

Compression:

Stored size: 475 Bytes

Contents

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

const Tapable = require("tapable");
const MultiModule = require("./MultiModule");

module.exports = class MultiModuleFactory extends Tapable {
	constructor() {
		super();
	}

	create(data, callback) {
		const dependency = data.dependencies[0];
		callback(null, new MultiModule(data.context, dependency.dependencies, dependency.name));
	}
};

Version data entries

10 entries across 6 versions & 3 rubygems

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