You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When add plugins of unplugin to rspack like unplugin-auto-import/rspack, the non-js files like static assets will broken
Describe the bug
like the fonts below which has different size before and after bundle, which also not recognized in browser,
looking at the code in https://github.com/unjs/unplugin/blob/main/src/rspack/index.ts#L44 , it includes everything in the transform, also not accept outside options for include,
maybe this is because the rspack is still in experimental state, is there any est for rspack plugin updates? or any workarounds? I found the unplugin has the rspack(compiler){} hook when createUnplugin(), but the plugins like unplugin-auto-import did not use it, or from the userOptions.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
[email protected]
Reproduction
When add plugins of unplugin to rspack like
unplugin-auto-import/rspack
, the non-js files like static assets will brokenDescribe the bug
like the fonts below which has different size before and after bundle, which also not recognized in browser,
looking at the code in https://github.com/unjs/unplugin/blob/main/src/rspack/index.ts#L44 , it includes everything in the transform, also not accept outside options for
include
,maybe this is because the rspack is still in experimental state, is there any est for rspack plugin updates? or any workarounds? I found the unplugin has the
rspack(compiler){}
hook whencreateUnplugin()
, but the plugins likeunplugin-auto-import
did not use it, or from theuserOptions
.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: