Build Doesn't Generate CJS
AJStacy opened this issue · 0 comments
AJStacy commented
The "main" entry in package.json points to a "index.js" that does not exist. The problem is that cjs is not part of the build command. The build command in package.json should be updated to:
"build": "tsup src/index.ts --format esm,cjs --dts",