-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
fix: should resolve aliased loader module with query #7660
Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Test Compatibility Diff
Unpassed tests6 🔴 Stats chunkGroups: TODO |
Summary
Support resolving loader alias with query.
With configs:
Previously
Loader requests to
"some-loader"
will be resolved to"any-loader"
, but leaves its query as empty if nothing is passed to"some-loader"
in the first place.Currently
If any module requested for
"some-loader"
,"any-loader"
with query written inresolve.alias
will be passed in as an option when explicit options are not provided to"some-loader"
. Check out the test for detail.closes #4009
Checklist