unplugin icon indicating copy to clipboard operation
unplugin copied to clipboard

[Feature Request] support resolveId hook for rspack

Open underfin opened this issue 2 years ago • 2 comments

Environment

Reproduction

Describe the bug

The latest rspack version already support normalModuleResolver resolveSchema hook, maybe it can be used to intercept it to implement resolveId hook.

Additional context

No response

Logs

No response

underfin avatar Jun 06 '23 08:06 underfin

Do you want to implement that? PR welcome :)

antfu avatar Jun 06 '23 20:06 antfu

Hello,

For information, unplugin-icons seems not to work because of the resolveId() which is used to resolve the import path ~icons/.

Nicolab avatar Feb 08 '24 10:02 Nicolab