chore: bumps bin to cjs
This commit is contained in:
@@ -17,7 +17,7 @@ const swcOptions = {
|
|||||||
paths: undefined,
|
paths: undefined,
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
type: 'commonjs',
|
type: 'es6',
|
||||||
},
|
},
|
||||||
sourceMaps: 'inline',
|
sourceMaps: 'inline',
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
"payload": "bin.js"
|
"payload": "bin.cjs"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
|||||||
Reference in New Issue
Block a user