Skip to content

Commit 0be2c21

Browse files
committed
fix: fix tsdown tsconfig property
1 parent 345b5a0 commit 0be2c21

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tsdown.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ export default defineConfig([
88
external: ['react', 'react/jsx-runtime'],
99
platform: 'browser',
1010
target: 'esnext',
11-
dts: {
12-
build: true
13-
},
11+
dts: true,
1412
minify: process.env.NODE_ENV === 'prod',
1513
sourcemap: true,
1614
plugins: [
@@ -19,6 +17,7 @@ export default defineConfig([
1917
minify: process.env.NODE_ENV === 'prod'
2018
}
2119
)
22-
]
20+
],
21+
tsconfig: './tsconfig.lib.json',
2322
}
2423
]);

0 commit comments

Comments
 (0)