Skip to content

fix: use native loader by default when run in Node.js with native typescript #10631

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hardfist
Copy link
Contributor

@hardfist hardfist commented Jun 11, 2025

Summary

related to #10304
also related to Node.js issue nodejs/typescript#37
Node.js break require.extensions support in Node.js 23 & 24 which will cause non-esm api in ts config not working,
so we use native configLoader if detect user enable native typescript support

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented Jun 11, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 83d144b
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/6848e26fefff2f00082e00ca
😎 Deploy Preview https://deploy-preview-10631--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack. labels Jun 11, 2025
@hardfist hardfist marked this pull request as draft June 11, 2025 01:51
@hardfist hardfist closed this Jun 11, 2025
@hardfist hardfist reopened this Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant