diff --git a/src/node.js b/src/node.js index 1f512a5f6f1..76bce5ba2d3 100644 --- a/src/node.js +++ b/src/node.js @@ -436,7 +436,8 @@ }; NativeModule.wrapper = [ - '(function (exports, require, module, __filename, __dirname) { ', + '(function (exports, require, module, __filename, __dirname) { ' + + 'function define(factory) { factory(require, exports, module); } ', '\n});' ];