Files
o11y-components/packages/tabs/tsup.config.ts
Shaheer KochaiandGitHub a976e0e87c feat: build the tabs component (primary and secondary) (#36)
* chore: upgrade button's tailwindcss to v4 + use css based tailwind colors config

* fix: add build configuration to tailwind-config package and export global.css

* feat: build the tabs component

* fix: vite -> tsup to fix the consumption issue

* fix: fix the errors in tabs component + consume in packages playground

* feat: secondary tab component + consumption in App.tsx

* chore: remove tailwind.config.js

* feat: add support for primary and secondary variants

* refactor: move variants to a separate file

* feat: add light/dark mode switcher decorator

* chore: tabs component storybook story + improve tab
2025-04-25 15:11:54 +04:30

14 lines
239 B
TypeScript

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