mirror of
https://github.com/egoist/tsup.git
synced 2025-12-08 20:35:58 +00:00
13 lines
333 B
TypeScript
13 lines
333 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
name: 'tsup',
|
|
target: 'node18',
|
|
dts: {
|
|
resolve: true,
|
|
// build types for `src/index.ts` only
|
|
// otherwise `Options` will not be exported by `tsup`, not sure how this happens, probably a bug in rollup-plugin-dts
|
|
entry: './src/index.ts',
|
|
},
|
|
})
|