-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
[Feature]: Support native ESM loader #5735
Comments
This is on our roadmap. Stay tuned ;-) You may use |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
@h-a-n-a is it fixed now? |
Not yet supported |
What problem does this feature solve?
This allows using a native ESM loader
loader.js
with"type": "module"
inpackage.json
(which webpack supports, see: https://github.com/webpack/webpack/tree/main/test/cases/loaders/_esm-loader-type).Use case
I'm developing a rspack plugin with loader and
"type": "module"
inpackage.json
. I have to runcp lib/loader.js lib/loader.mjs
after every build to make it work with rspack. And thetsc --watch
I used to build the whole project cannot do that for me(it also does not support output.mjs
files).What does the proposed API of configuration look like?
Pitching loader:
The text was updated successfully, but these errors were encountered: