Closed zachleat closed 8 months ago
"type": "module"
*.js
*.cjs
Thanks for linking to this example from the documentation, it was useful for me to go through. It didn't actually look too difficult to just convert to ESM syntax, so I gave it a go myself (in case it helps anyone else too).
"type": "module"
to package.json*.js
to*.cjs
*.cjs
files back to*.js
with ESM syntax.