Skip to content

oxc-resolver has been a breaking change #242

@mrginglymus

Description

@mrginglymus

I've just tried to update to latest version of the plugin. oxc-resolver appears incompatible with yarn PnP (at least out of the box).

Switching to the node-modules linker at least allows it to resolve packages, but it then seems to have some trouble importing .css files which previously worked without additional config.

{
    settings: {
      "import-x/resolver-next": [
        importPlugin.createNodeResolver({
          extensions: [".ts", ".tsx", ".js"],
          conditionNames: ["my-condition", "import"],
          extensionAlias: {
            ".js": [".ts", ".js"],
          },
        }),
      ],
      "import-x/internal-regex": "^@my-namespace/",
      "import-x/external-module-folders": [".yarn"],
      "import-x/parsers": {
        "@typescript-eslint/parser": [".ts", ".tsx"],
      },
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions