mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
12 lines
265 B
TypeScript
12 lines
265 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,
|
|
metafile: true,
|
|
platform: 'browser',
|
|
});
|