2024-01-21 17:25:13 +08:00
|
|
|
import { defineConfig } from 'tsup';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
entry: ['src/index.ts'],
|
|
|
|
format: ['cjs', 'esm'],
|
|
|
|
dts: true,
|
2024-01-21 17:26:26 +08:00
|
|
|
target: 'es2015',
|
2024-01-21 17:25:13 +08:00
|
|
|
platform: 'neutral',
|
|
|
|
});
|