Skip to content

Commit a2a3fde

Browse files
committed
Fix cli build
1 parent 278ab51 commit a2a3fde

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/rtk-query-codegen-openapi/tsup.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ export default defineConfig((options): Options[] => {
2121
{ ...commonOptions, name: 'CJS', format: ['cjs'], entry: { index: 'src/index.ts' }, dts: true },
2222
{
2323
...commonOptions,
24-
format: ['esm', 'cjs'],
24+
format: ['esm'],
2525
name: 'BIN',
26+
external: ['@rtk-query/codegen-openapi'],
27+
minify: true,
2628
entry: { 'bin/cli': 'src/bin/cli.ts' },
2729
},
2830
];

0 commit comments

Comments
 (0)