1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| import { defineConfig } from 'tsdown';
|
| export default defineConfig({
| clean: true,
| dts: true,
| entry: {
| 'cache/index': 'src/cache/index.ts',
| 'color/index': 'src/color/index.ts',
| 'constants/index': 'src/constants/index.ts',
| 'global-state': 'src/global-state.ts',
| store: 'src/store.ts',
| 'utils/index': 'src/utils/index.ts',
| },
| format: ['esm'],
| outExtensions: () => ({
| dts: '.d.ts',
| }),
| });
|
|