Code coverage report for lib\node\NodeTargetPlugin.js

Statements: 100% (5 / 5)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (5 / 5)      Ignored: none     

All files » lib\node\ » NodeTargetPlugin.js
1 2 3 4 5 6 7 8 9 10 11 12 13        1   1     1 1 451  
/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
var ExternalsPlugin = require("../ExternalsPlugin");
 
function NodeTargetPlugin() {
}
 
module.exports = NodeTargetPlugin;
NodeTargetPlugin.prototype.apply = function(compiler) {
	new ExternalsPlugin("commonjs", Object.keys(process.binding("natives"))).apply(compiler);
};