Skip to content

Can moduleResolution plugin support return absolute path? #1490

@pilaoda

Description

@pilaoda

I try to return absolute path in moduleResolution plugin, but this code always path.join my absolute file path with another absolute directory to a wrong path.

const resolvedPath = this.formatPathToFile(pluginResolvedPath, requiringFile);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope: transpileAny transpilation not directly related to code transforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions