Sha256: 19e58f57bdd4145fb6cf5f417cc2783eceaae865bfbc9884ead6e8c7cce25f2f
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const ExternalsPlugin = require("../ExternalsPlugin"); const builtins = require("module").builtinModules || Object.keys(process.binding("natives")); class NodeTargetPlugin { apply(compiler) { new ExternalsPlugin("commonjs", builtins).apply(compiler); } } module.exports = NodeTargetPlugin;
Version data entries
3 entries across 3 versions & 2 rubygems