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

tsdown.config.ts

12 lines235 Bytes

1import { defineConfig } from 'tsdown'
2​
3export default defineConfig({
4 entry: ['src/index.ts'],
5 format: ['cjs', 'esm'],
6 target: ['es2022'],
7 outDir: 'dist-test',
8 unbundle: true,
9 dts: true,
10 sourcemap: true,
11 clean: true,
12})