serversideup/webext-bridge

Build Doesn't Generate CJS

Closed this issue · 0 comments

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",