We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0ad31 commit b3f3511Copy full SHA for b3f3511
2 files changed
build.ts
@@ -1,8 +1,9 @@
1
import { dts } from 'bun-plugin-dtsx'
2
3
await Bun.build({
4
- entrypoints: ['src/index.ts'],
+ entrypoints: ['src/index.ts', 'bin/cli.ts'],
5
outdir: './dist',
6
plugins: [dts()],
7
target: 'node',
8
+ splitting: true,
9
})
package.json
@@ -25,13 +25,13 @@
25
"exports": {
26
".": {
27
"types": "./dist/index.d.ts",
28
- "import": "./dist/index.js"
+ "import": "./dist/src/index.js"
29
},
30
"./*": {
31
"import": "./dist/*"
32
}
33
34
- "module": "./dist/index.js",
+ "module": "./dist/src/index.js",
35
36
"bin": {
37
"gitit": "./dist/bin/cli.js"
0 commit comments