-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
feat: support LoaderContext.loadModule
#7940
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for rspack canceled.Built without sensitive environment variables
|
@h-a-n-a I have finished the basic implementation except the bugs above. It's more complex than I expect. One key point is to get original module info when importing/loading referenced modules in loaders. But from my inspect, the artifacts that contain module graphs are not shared between the task loop of ModuleExecutor and main task loop. Am I right? |
An exciting feature! I need this API, too. |
Any progress? |
@h-a-n-a Can you take a look? ❤️ |
This pull request has been automatically marked as stale because it has not had recent activity. If this pull request is still relevant, please leave any comment (for example, "bump"). |
Summary
closes #3738
closes #7723
TODOs or existing bugs to fix:
package.json
, but it's not resolved.importModule
:recursive
,connectOrigin
,checkCycle
Checklist