Last active
October 23, 2018 04:04
-
-
Save jhnns/f7292b4700fc6cdbe35de9984e420d03 to your computer and use it in GitHub Desktop.
Node function wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const module = { | |
exports: {} | |
}; | |
const require = makeRequireFunction(); | |
const filename = "..."; | |
const dirname = "..."; | |
(function (exports, require, module, __filename, __dirname) { | |
/* YOUR CODE */ | |
})(module.exports, require, module, filename, dirname); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if i have 10 modules then , is that means 10 times this IIFE will run ? or something else will happen ?