Skip to content

Commit 57cb930

Browse files
committed
Use tsc-alias for building (to fix dist import issues)
1 parent f09a50b commit 57cb930

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bun.lockb

12.7 KB
Binary file not shown.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
"bun-types": "^1.1.30"
1313
},
1414
"scripts": {
15-
"build": "tsc && bun build src/index.ts --outdir dist && mkdir -p dist/types && cp -r src/types/* dist/types/"
15+
"build": "tsc && tsc-alias && bun build src/index.ts --outdir dist && mkdir -p dist/types && cp -r src/types/* dist/types/"
1616
},
1717
"files": [
1818
"dist"
19-
]
19+
],
20+
"dependencies": {
21+
"tsc-alias": "^1.8.11"
22+
}
2023
}

0 commit comments

Comments
 (0)