mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
tsdown DTS generation fails on transitive @base-ui/utils import from @base-ui/react. This is a leaf package not consumed as a type library, so DTS is unnecessary for production builds.
14 lines
278 B
TypeScript
14 lines
278 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: ['./src/index.ts', './src/components/index.tsx'],
|
|
format: 'esm',
|
|
dts: false,
|
|
fixedExtension: false,
|
|
target: 'es2023',
|
|
deps: {
|
|
onlyBundle: [],
|
|
external: ['@base-ui/utils'],
|
|
},
|
|
});
|