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

tsup.config.js

13 lines239 Bytes

1// @ts-check
2​
3import { defineConfig } from 'tsup'
4​
5export default defineConfig({
6 entry: ['src/index.ts'],
7 format: ['cjs', 'esm'],
8 target: ['es2020', 'node16'],
9 outDir: 'build/lib',
10 dts: true,
11 sourcemap: true,
12 clean: true,
13})