chore(cli): add tsup
This commit is contained in:
parent
50b38e450e
commit
3a0d2e62f1
11
packages/cli/tsup.config.ts
Normal file
11
packages/cli/tsup.config.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
import { defineConfig } from 'tsup'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
clean: true,
|
||||||
|
dts: true,
|
||||||
|
entry: ['src/index.ts'],
|
||||||
|
format: ['esm'],
|
||||||
|
sourcemap: true,
|
||||||
|
target: 'esnext',
|
||||||
|
outDir: 'dist',
|
||||||
|
})
|
||||||
Loading…
Reference in New Issue
Block a user