Skip to content

Commit 3a4e589

Browse files
committed
fix: tsdown issue
Fixes #50
1 parent f9b4424 commit 3a4e589

File tree

3 files changed

+44
-13
lines changed

3 files changed

+44
-13
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"dist"
2626
],
2727
"type": "module",
28-
"main": "./dist/index.js",
28+
"exports": "./dist/index.js",
2929
"publishConfig": {
3030
"access": "public",
3131
"provenance": true
@@ -63,6 +63,7 @@
6363
"cross-env": "^10.1.0",
6464
"oxfmt": "^0.40.0",
6565
"oxlint": "^1.55.0",
66+
"publint": "^0.3.18",
6667
"release-it": "^19.2.4",
6768
"tsdown": "^0.21.3",
6869
"typescript": "^5.9.3",

pnpm-lock.yaml

Lines changed: 39 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsdown.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ export default defineConfig({
66
clean: true,
77
sourcemap: true,
88
format: ['esm'],
9+
fixedExtension: false,
10+
publint: true,
911
deps: {
10-
neverBundle: ['vite'],
12+
neverBundle: ['vite', 'zod'],
1113
},
1214
target: false,
1315
})

0 commit comments

Comments
 (0)