Last active
February 17, 2017 20:44
-
-
Save ivoputzer/37c8c122963ec79f03b0afa90c068476 to your computer and use it in GitHub Desktop.
es6 flagged template strings require
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 _require = ([module]) => require(module) | |
// usage | |
const {join, resolve} = _require `path` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment