Skip to content

Bug: parser can't resolve imports when a package is using typesVersions #107

Closed
@zikaari

Description

@zikaari

parser

As seen in the screenshot, VSCode's intellisense is having no problem resolving the module, but import plugin is unable to find the module. I'm using stock settings for eslintrc and parserOptions.

The package in question is using typesVersions to "map" the files in dist directory to module names - https://github.com/mozilla/glean.js/blob/main/glean/package.json#L19-L49

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions