3 ms·
It isn't required when importing something, its required for the filename. You can continue to do `import './thing'` where you have `thing.mjs`.
by snek 8y ago
It isn't required when importing something, its required for the filename. You can continue to do `import './thing'` where you have `thing.mjs`.
- Klathmon 8y agoThat's not what the linked article says, and even if it is true, it still won't do a lookup for `index.mjs` inside the `thing` folder, so it still hurts that usecase.