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 316cca5 commit 7102a68Copy full SHA for 7102a68
build.ts
@@ -1,4 +1,3 @@
1
-import { $ } from 'bun'
2
import process from 'node:process'
3
import { dts } from 'bun-plugin-dtsx'
4
@@ -30,6 +29,3 @@ if (!result.success) {
30
29
}
31
32
console.log('Build complete')
33
-
34
-await $`cp ./dist/src/index.js ./dist/index.js`
35
-await $`rm -rf ./dist/src`
package.json
@@ -35,13 +35,10 @@
],
36
"exports": {
37
".": {
38
- "import": "./dist/index.js"
39
- },
40
- "./*": {
41
- "import": "./dist/*"
+ "import": "./dist/src/index.js"
42
43
},
44
- "module": "./dist/index.js",
+ "module": "./dist/src/index.js",
45
"types": "./dist/index.d.ts",
46
"bin": {
47
"tlsx": "./dist/bin/cli.js"
0 commit comments