Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

tsdown.config.ts

22 lines421 Bytes

1import { defineConfig } from 'tsdown'
2​
3export default defineConfig([
4 {
5 entry: { index: 'src/index.ts' },
6 format: ['esm'],
7 outDir: 'dist',
8 fixedExtension: false,
9 dts: true,
10 clean: true,
11 sourcemap: false,
12 },
13 {
14 entry: { production: 'src/production.ts' },
15 format: ['esm'],
16 outDir: 'dist',
17 fixedExtension: false,
18 dts: true,
19 clean: false,
20 sourcemap: false,
21 },
22])