UNPKG

@utopia-utils/tree

Version:
17 lines (15 loc) 360 B
import { defineConfig } from 'tsdown' import type { UserConfig, UserConfigFn } from 'tsdown' const config: UserConfigFn | UserConfig = defineConfig((options) => { return { entry: { index: 'src/index.ts', }, sourcemap: true, clean: true, dts: true, fixedExtension: true, minify: !options.watch, } }) export default config