Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

namedExports is using non-normalized resolved module path as module id #177

@ezolenko

Description

@ezolenko

On windows, this can conflict with plugins using other resolvers. For example typescript's built-in resolver returns module paths using forward slashes, while commonjs takes output of resolve at face value. Since that happens to return system native path with backslashes (in ver 1.1.7 at least), mishaps can result depending on which plugin happened to resolve a given module first.

One way to fix it would be to normalize path before using it as a key.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions