bit.envs
bit.envs copied to clipboard
Update get-babel-options to load normal module
I update the addBabelPrefixAndResolve function to not return resolved filename with the wrong prefix.
For example, I tried to load a module that starts with:
@vue/...
and the function return
babel-helpers-@vue/...
so now I fixed this and the function returns @vue/...
.