Skip to content

[plugin-babel] should works with query param in path #500

@csr632

Description

@csr632

Expected Behavior

The plugin should accept module id with query param in it.

The motivation is similar to how node-resolve plugin support hash and query.

Actual Behavior

It doesn't recognize .ts extension because the module id is file.ts?query=asd.

Additional Information

In my case, when I am doing some special import, I store some infomation in the query, so that my plugin can treat it differently.

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