chore: bumps bin to cjs

This commit is contained in:
James
2024-03-07 17:37:18 -05:00
parent a7c5e4f317
commit 5640c27cec
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ const swcOptions = {
paths: undefined,
},
module: {
type: 'commonjs',
type: 'es6',
},
sourceMaps: 'inline',
}

View File

@@ -7,7 +7,7 @@
"types": "./src/index.ts",
"type": "module",
"bin": {
"payload": "bin.js"
"payload": "bin.cjs"
},
"exports": {
".": {