Sha256: 19ded8dac8102b3e99c2238fbc2283c262db6be4207df6299e5ae76bd8fc2987

Contents?: true

Size: 497 Bytes

Versions: 28

Compression:

Stored size: 497 Bytes

Contents

module.exports = function(module) {
	if (!module.webpackPolyfill) {
		module.deprecate = function() {};
		module.paths = [];
		// module.parent = undefined by default
		if (!module.children) module.children = [];
		Object.defineProperty(module, "loaded", {
			enumerable: true,
			get: function() {
				return module.l;
			}
		});
		Object.defineProperty(module, "id", {
			enumerable: true,
			get: function() {
				return module.i;
			}
		});
		module.webpackPolyfill = 1;
	}
	return module;
};

Version data entries

28 entries across 27 versions & 10 rubygems

Version Path
ezii-os-5.2.1 node_modules/webpack/buildin/module.js
ezii-os-2.0.1 node_modules/webpack/buildin/module.js
ezii-os-1.1.0 node_modules/webpack/buildin/module.js
ezii-os-1.0.0 node_modules/webpack/buildin/module.js
ezii-os-0.0.0.1.0 node_modules/webpack/buildin/module.js
ezii-os-0.0.0.0.1 node_modules/webpack/buildin/module.js
locomotivecms-3.4.0 app/javascript/node_modules/webpack/buildin/module.js
dragonfly_puppeteer-0.1.0 node_modules/webpack/buildin/module.js