Open sibelius opened 3 days ago
Hey @sibelius ! 👋 Long time no see, hope everything's good with you.
Considering that part of the TypeScript 5.7+ ecosystem is moving to fully-specified import specifiers with *.ts*
extensions (motivated by Node.js type stripping), would allowImportingTsExtensions
from TypeScript 5.0 with .ts
file extensions work for you?
I wrote a bit in a similar issue over here:
🚀 Feature Proposal
Similar to webpack/rpsack extensionAlias
https://webpack.js.org/configuration/resolve/#resolveextensionalias
https://github.com/webpack/webpack/issues/13252#issuecomment-1824282100
Be able to resolve
import "myFile.js"
tomyFile.ts
, to enable ESMMotivation
ESM requires file extensions, so we need to import using
.js
, but this breaks jest that it is looking for.ts
file insteadExample
import "myFile.js"
tomyFile.ts
, to enable ESMPitch
solve another ESM problem and make module resolution faster