Closed yyx990803 closed 2 months ago
That's very strange. The cjs entry point checks for require
and throws that if it is undefined (bundler code by the looks of it, not ours)
Is the resolution going wonky for you maybe and it should have resolved to the esm entry point?
@yyx990803 i figured this out somewhat
it seems to be weird tsup behaviour. im tracking it in #20
should be fixed by #21
In a project with
type: "module"
and:throws: