Skip to content

Commit

Permalink
[deps] add CJS compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Oct 5, 2024
1 parent 4962c89 commit 76f5bd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import dts from 'bun-plugin-dts'
await Bun.build({
entrypoints: ['./src/index.ts'],
outdir: './dist',
minify: true,
minify: false,
plugins: [dts()]
})
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@
"scripts": {
"build": "bun run build.mjs",
"prepublishOnly": "bun run build"
},
"type": "module"
}
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Client } from "./client";
export * from "./domain";

export default Client;

0 comments on commit 76f5bd5

Please sign in to comment.