Closed jacwright closed 2 months ago
Related to #100 and #101
In some of my projects, I have a working setup with "type": "module"
, typescript, and Jest. I could convert the project and tests over.
Would you be interested in that?
Vite & Vitest are the best today for working with ESM. Jest worked alright but still had more headaches than Vitest did.
Running
npm test
gives this error:The fixes online all suggest to remove
"type": "module",
frompackage.json
. Should we give up on modules and stick with commonjs output?