mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-22 17:00:14 +08:00
- Introduced a new UI component library for Cherry Studio, including various components such as buttons, inputs, and layout elements. - Updated configuration files to include the new library and its dependencies. - Enhanced the project structure to support modular imports and TypeScript definitions for better development experience.
17 lines
383 B
TypeScript
17 lines
383 B
TypeScript
import { defineConfig } from 'tsdown'
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: 'src/index.ts',
|
|
'components/index': 'src/components/index.ts',
|
|
'hooks/index': 'src/hooks/index.ts',
|
|
'utils/index': 'src/utils/index.ts'
|
|
},
|
|
outDir: 'dist',
|
|
format: ['esm', 'cjs'],
|
|
clean: true,
|
|
dts: true,
|
|
tsconfig: 'tsconfig.json',
|
|
external: ['react', 'react-dom']
|
|
})
|