2.0 初始化
This commit is contained in:
10
tsup.config.ts
Normal file
10
tsup.config.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig({
|
||||
entry: ['src/index.ts'],
|
||||
format: ['esm', 'cjs'],
|
||||
splitting: false,
|
||||
clean: true,
|
||||
dts: true,
|
||||
minify: false
|
||||
});
|
Reference in New Issue
Block a user