Created
July 15, 2016 18:16
-
-
Save mientjan/909e0b5a1fac4188be54c2a0717cedde to your computer and use it in GitHub Desktop.
regex import require to import from
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(\w+)\s=\srequire\(\'([\w.\s\/]+)\'\)\; | |
import $1 from '$2'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment