unjs / unplugin

Unified plugin system for Vite, Rollup, Webpack, esbuild, Rolldown, and more

Home Page:https://unplugin.unjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] support resolveId hook for rspack

underfin opened this issue · 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

Do you want to implement that? PR welcome :)

Hello,

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