ts2esm
ts2esm copied to clipboard
Won't convert absolute tsx imports
As of @2.2.7, The following works:
import App from './components/App';
// output =>
import App from './components/App.js';
The following does not:
import App from 'components/App';
// output =>
import App from 'components/App'; // (no change)
// expected =>
import App from 'components/App.js';
Hi @alexnault and thank you very much for your report! Can you tell me your tsconfig.json setup? I would like to make a reproducible example.
It's been a while. I can't remember what the issue was, but it was unrelated to ts2esm. Closing. Thank you