4 ms·
While `rewriteRelativeImportExtensions` works for frontend applications, it has a significant limitation: it doesn't fix declaration files (.d.ts), which is pro
by hakkotsu 2y ago
While `rewriteRelativeImportExtensions` works for frontend applications, it has a significant limitation: it doesn't fix declaration files (.d.ts), which is problematic when developing libraries or public packages.
I created a small tool to address ESM + TypeScript issues that the tsc doesn't handle:
https://github.com/2BAD/tsfix https://github.com/2BAD/tsfix