Skip to content

Commit 7102a68

Browse files
committed
fix: adjust paths after splitting
1 parent 316cca5 commit 7102a68

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

build.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { $ } from 'bun'
21
import process from 'node:process'
32
import { dts } from 'bun-plugin-dtsx'
43

@@ -30,6 +29,3 @@ if (!result.success) {
3029
}
3130

3231
console.log('Build complete')
33-
34-
await $`cp ./dist/src/index.js ./dist/index.js`
35-
await $`rm -rf ./dist/src`

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@
3535
],
3636
"exports": {
3737
".": {
38-
"import": "./dist/index.js"
39-
},
40-
"./*": {
41-
"import": "./dist/*"
38+
"import": "./dist/src/index.js"
4239
}
4340
},
44-
"module": "./dist/index.js",
41+
"module": "./dist/src/index.js",
4542
"types": "./dist/index.d.ts",
4643
"bin": {
4744
"tlsx": "./dist/bin/cli.js"

0 commit comments

Comments
 (0)