Skip to content

Commit

Permalink
fix: adjust paths after splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Dec 9, 2024
1 parent 316cca5 commit 7102a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { $ } from 'bun'
import process from 'node:process'
import { dts } from 'bun-plugin-dtsx'

Expand Down Expand Up @@ -30,6 +29,3 @@ if (!result.success) {
}

console.log('Build complete')

await $`cp ./dist/src/index.js ./dist/index.js`
await $`rm -rf ./dist/src`
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@
],
"exports": {
".": {
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
"import": "./dist/src/index.js"
}
},
"module": "./dist/index.js",
"module": "./dist/src/index.js",
"types": "./dist/index.d.ts",
"bin": {
"tlsx": "./dist/bin/cli.js"
Expand Down

0 comments on commit 7102a68

Please sign in to comment.