mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
import { type UserConfig, defineConfig } from 'tsdown'
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
target: 'node20',
|
|
tsconfig: false, // disable tsconfig `paths` when bundling
|
|
dts: true,
|
|
fixedExtension: false,
|
|
deps: {
|
|
onlyBundle: ['picocolors'],
|
|
},
|
|
}) as UserConfig
|