babel-plugin-module-resolver
babel-plugin-module-resolver copied to clipboard
Import output is double quotes
For some reason when using this plugin the output results in double quotes even though the input is single quotes:
import foo from "../foo";
When not using the plugin the code is transformed as expected. I seem to have run across a related issue in @babel/core but can't find it now... possible it needs an upgrade?
My babelrc:
{
"presets": [["@babel/preset-react"]],
"plugins": [
[
"module-resolver",
{
"root": ["./src"]
}
]
]
}