diff --git a/tsup.config.ts b/tsup.config.ts index b6b4e4f9..f13b48d5 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -5,6 +5,9 @@ export default defineConfig({ name: 'tsup', dts: { resolve: true, + // build types for `src/index.ts` only + // otherwise `Options` will not be exported by `tsup`, not sure how this happens, probbably a bug in rollup-plugin-dts + entry: './src/index.ts', }, esbuildPlugins: [ {