There was an error while loading. Please reload this page.
1 parent 7dd92c3 commit 9e1356eCopy full SHA for 9e1356e
package.json
@@ -45,7 +45,6 @@
45
"bin": {
46
"openapi": "dist/bin.mjs"
47
},
48
- "type": "module",
49
"publishConfig": {
50
"type": "commonjs",
51
"access": "public"
tsup.config.ts
@@ -28,6 +28,7 @@ export default defineConfig([
28
shims: false,
29
dts: true,
30
legacyOutput: true,
31
+ onSuccess: `echo '{"type":"module"}' > dist/esm/package.json`,
32
33
{
34
entry: readdirSync(path.resolve('src', 'adapters')).map(
0 commit comments