-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtsdown.config.ts
More file actions
25 lines (24 loc) · 780 Bytes
/
Copy pathtsdown.config.ts
File metadata and controls
25 lines (24 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { defineConfig } from 'tsdown';
export default defineConfig({
clean: true,
dts: {
cjsReexport: true,
},
entry: {
index: 'src/index.tsx',
parseQuery: 'src/parseQuery/index.ts',
formatQuery: 'src/formatQuery/index.ts',
'bootstrap/v5/index': 'src/bootstrap/v5/index.ts',
'antd/v5/index': 'src/antd/v5/index.ts',
'antd/v6/index': 'src/antd/v6/index.ts',
'fluentui/v8/index': 'src/fluentui/v8/index.ts',
'mantine/v8/index': 'src/mantine/v8/index.ts',
'mantine/v9/index': 'src/mantine/v9/index.ts',
'mui/v7/index': 'src/mui/v7/index.ts',
'mui/v9/index': 'src/mui/v9/index.ts',
'radix/v1/index': 'src/radix/v1/index.ts',
'monaco/index': 'src/monaco/index.ts',
},
format: ['esm', 'cjs'],
sourcemap: false,
});