Skip to content

Import output is double quotes #430

Description

@andrewplummer

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"]
      }
    ]
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions