diff --git a/packages/cli/package.json b/packages/cli/package.json index a7713add..2aa5fa32 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -33,6 +33,9 @@ "./core": { "types": "./dist/core.d.ts", "import": "./dist/core.js" + }, + "./types": { + "types": "./dist/types.d.ts" } }, "main": "./dist/index.js", diff --git a/packages/cli/tsup.config.ts b/packages/cli/tsup.config.ts index 9d1d7944..36d4fe9b 100644 --- a/packages/cli/tsup.config.ts +++ b/packages/cli/tsup.config.ts @@ -10,6 +10,7 @@ export default { entryPoints: [ 'src/index.ts', 'src/core.ts', + 'src/types.ts', ], outDir: 'dist', target: 'esnext',