Open
Description
Bug report
What is the current behavior?
Refs: gulpjs/rechoir#49
Refs: nodejs/node#57298
Since rechoir is relying on the deprecated field require.extensions
, with Node.js v24 having native typescript support, it will not load the typescript loader (ts-node etc...) and use type stripping which might support different syntax.
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/hardfist/webpack-ts-break
What is the expected behavior?
It should not rely on require.extensions
to check if the typescript loader is enabled.
Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:
Metadata
Metadata
Assignees
Labels
No labels