mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/lib.ts', 'src/index.ts', 'src/widgets/index.ts'],
|
|
format: ['cjs', 'esm', 'iife'],
|
|
splitting: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
platform: 'browser',
|
|
});
|