Skip to content

Commit b3f3511

Browse files
committed
chore: wip
1 parent 8d0ad31 commit b3f3511

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { dts } from 'bun-plugin-dtsx'
22

33
await Bun.build({
4-
entrypoints: ['src/index.ts'],
4+
entrypoints: ['src/index.ts', 'bin/cli.ts'],
55
outdir: './dist',
66
plugins: [dts()],
77
target: 'node',
8+
splitting: true,
89
})

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"exports": {
2626
".": {
2727
"types": "./dist/index.d.ts",
28-
"import": "./dist/index.js"
28+
"import": "./dist/src/index.js"
2929
},
3030
"./*": {
3131
"import": "./dist/*"
3232
}
3333
},
34-
"module": "./dist/index.js",
34+
"module": "./dist/src/index.js",
3535
"types": "./dist/index.d.ts",
3636
"bin": {
3737
"gitit": "./dist/bin/cli.js"

0 commit comments

Comments
 (0)