Created
November 11, 2017 11:07
-
-
Save LucasBadico/1ef95a7b8f4d2b54c56c0159b0711b4e to your computer and use it in GitHub Desktop.
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
if (pluginHelper.startsWith(givenPath, '$/')) { | |
path.node.source.value = pluginHelper.transformReflectiveToRootPath( | |
givenPath, | |
state.file.opts.filename, | |
rootPathSuffix, | |
testFolder, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment