Created
April 23, 2017 12:15
-
-
Save WebReflection/182e155963c83b94d7d45dcdea38037f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// CommonJS consumer and/or importer | |
module.exports = new Promise(async $export => { | |
const module = await require('./module'); | |
$export({module, method(){}}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment