Skip to content

module: expose configureTypeScript()#64556

Open
Rishikmanche wants to merge 1 commit into
nodejs:mainfrom
Rishikmanche:fix/issue-64518-configure-typescript
Open

module: expose configureTypeScript()#64556
Rishikmanche wants to merge 1 commit into
nodejs:mainfrom
Rishikmanche:fix/issue-64518-configure-typescript

Conversation

@Rishikmanche

Copy link
Copy Markdown

This PR resolves issue #64518 by exposing the full Amaro loader API via node:module.

Specifically:

  • Exposes module.configureTypeScript() through node:module
  • Restores mode: 'transform' in module.stripTypeScriptTypes()
  • Updates the compile cache to support kTransformedTypeScript and kTransformedTypeScriptWithSourceMaps
  • Bypasses isUnderNodeModules check when nodeModules is enabled in configuration
  • Dynamically registers the TypeScript formats in ESM extensionFormatMap

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/loaders
  • @nodejs/startup
  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants