Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import output is double quotes #430

Open
andrewplummer opened this issue Sep 4, 2021 · 0 comments
Open

Import output is double quotes #430

andrewplummer opened this issue Sep 4, 2021 · 0 comments

Comments

@andrewplummer
Copy link

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"]
      }
    ]
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant