mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +08:00
- Updated version in package.json to 1.0.0-alpha.2. - Added new path mapping for @cherrystudio/ai-core in tsconfig.web.json. - Refactored export paths in tsdown.config.ts and index.ts for consistency. - Cleaned up type exports in index.ts and types.ts for better organization.
14 lines
282 B
TypeScript
14 lines
282 B
TypeScript
import { defineConfig } from 'tsdown'
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: 'src/index.ts',
|
|
'built-in/plugins/index': 'src/core/plugins/built-in/index.ts'
|
|
},
|
|
outDir: 'dist',
|
|
format: ['esm', 'cjs'],
|
|
clean: true,
|
|
dts: true,
|
|
tsconfig: 'tsconfig.json'
|
|
})
|