mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-10-30 14:54:15 +00:00
* 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
14 lines
239 B
TypeScript
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,
|
|
});
|