-
-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve to wrong module with aliasFields #4446
Comments
Here are the missing pieces:
We need to set rspack/packages/rspack/src/config/zod.ts Lines 321 to 325 in 6f85b03
But it seems like there is a big mismatch between all these configs - See https://www.rspack.dev/config/resolve.html#resolvealiasfield and https://webpack.js.org/configuration/resolve/#resolvealiasfields FYI rspack/crates/rspack_core/src/resolver/resolver_impl.rs Lines 313 to 320 in 6f85b03
|
I'm still investigating on how to pass rspack/webpack-test/cases/resolving/browser-field/index.js Lines 40 to 43 in 6f85b03
but it seems the rspack suite commented it out: rspack/packages/rspack/tests/cases/resolve/browser-field/index.js Lines 38 to 43 in 6f85b03
enhanced-resolve will throw an infinite recursion error, while oxc_resolver will resolve it to |
webpack-test/cases/resolving/browser-field
should passThe text was updated successfully, but these errors were encountered: