Agreed, I spent an age trying to get jest and typescript and esm working, it’s a complete mess. Gave up and switched to vitest, not only was it surprisingly easy, it was hugely faster. Never looked back.
Yup! ESM and the JavaScript landscape continues to be cursed. Currently attempting to stand up automated E2E performance auditing of some critical screens in our app. Trying to get some packages like playwright-lighthouse to play nicely with an ESM has been... taxing.
Comments