We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 345b5a0 commit 0be2c21Copy full SHA for 0be2c21
1 file changed
tsdown.config.ts
@@ -8,9 +8,7 @@ export default defineConfig([
8
external: ['react', 'react/jsx-runtime'],
9
platform: 'browser',
10
target: 'esnext',
11
- dts: {
12
- build: true
13
- },
+ dts: true,
14
minify: process.env.NODE_ENV === 'prod',
15
sourcemap: true,
16
plugins: [
@@ -19,6 +17,7 @@ export default defineConfig([
19
17
minify: process.env.NODE_ENV === 'prod'
20
18
}
21
)
22
- ]
+ ],
+ tsconfig: './tsconfig.lib.json',
23
24
]);
0 commit comments