Skip to content

The rollup hook resolveDynamicImport does not work in dev #1588

@csr632

Description

@csr632

Is your feature request related to a problem? Please describe.

I want to hook into the resolution logic of import('/virtual/path').

Describe the solution you'd like
Make the rollup hook resolveDynamicImport works in dev. It works similar to resolveId hook, but applied to dynamic import

Describe alternatives you've considered
We can also make resolveId apply to dynamic import.

Rollup uses resolveId as fallback of resolveDynamicImport.

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