Files
o11y-components/packages/switch/tsup.config.ts
2025-04-21 01:42:56 +05:30

14 lines
241 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/switch.tsx'],
format: ['esm'],
dts: true,
splitting: true,
sourcemap: false,
clean: true,
treeshake: true,
external: ['react'],
injectStyle: true,
});