chore(build): 🔧 Update tsup.config.ts to refine bundle configurations (entry points, plugins, or output formats)
This commit is contained in:
parent
ae77fe3445
commit
48da962d95
1 changed files with 11 additions and 0 deletions
11
tsup.config.ts
Normal file
11
tsup.config.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig({
|
||||
entry: ['src/index.ts'],
|
||||
format: ['esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
treeshake: true,
|
||||
target: 'es2022',
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue