| 123456789101112131415161718 |
- 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',
- }),
- });
|