Describe the bug
Our package - https://npmx.dev/package/varlock - is showing as CJS supported and not ESM. It has "type": "module" and some default exports. There is also a "main": "dist/index.js" - I can't even remember why that main setting is there honestly. Probably some audit tool told me it was missing.
I'll likely swap this all over to .mjs files at some point as I'd prefer that explicitness - I think it's set up with .js filenames just because that's what tsup wants to spit out when it sees type=module.
But regardless this case seems like a bug.
Additional context
No response
Logs
Describe the bug
Our package - https://npmx.dev/package/varlock - is showing as CJS supported and not ESM. It has
"type": "module"and some default exports. There is also a"main": "dist/index.js"- I can't even remember why that main setting is there honestly. Probably some audit tool told me it was missing.I'll likely swap this all over to .mjs files at some point as I'd prefer that explicitness - I think it's set up with .js filenames just because that's what tsup wants to spit out when it sees type=module.
But regardless this case seems like a bug.
Additional context
No response
Logs