Last active
March 16, 2017 17:51
-
-
Save lordgraysith/aca066e86b144ba55f04ac17d19c0ac7 to your computer and use it in GitHub Desktop.
import/export to commonJS
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
import\s([a-z0-9{},]+)\sfrom\s('[a-z\-./]+') | |
const $1 = require($2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment