Skip to content

Commit

Permalink
fix(build): only bundle index file
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Jul 1, 2024
1 parent d36bba6 commit 1269ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['./src/*.ts'],
entry: ['./src/index.ts'],
format: ['esm', 'cjs'],
target: 'node18',
dts: true,
Expand Down

0 comments on commit 1269ad6

Please sign in to comment.