mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-10-30 14:54:15 +00:00
* chore: add .gitignore for packages * chore: configure global css light/them variables * chore: pnpm install * chore: change tailwind.config.js type to module in package.json * chore: upgrade button's tailwindcss to v4 + use css based tailwind colors config * refactor: upgrade input component tailwindcss to v4 * refactor: upgrade storybook tailwindcss to v4 * fix: add build configuration to tailwind-config package and export global.css * fix: import global.css in consumer packages
13 lines
532 B
TypeScript
13 lines
532 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['./tailwind.config.js', './global.css'], // Include both JS config and CSS
|
|
format: ['esm', 'cjs'], // Output formats for the JS config
|
|
dts: false, // No need for declaration files for the config
|
|
splitting: false,
|
|
sourcemap: false, // Sourcemaps likely not needed for this config
|
|
clean: true, // Clean the dist directory before building
|
|
// tsup will automatically copy the global.css to the dist folder
|
|
// because it's listed as an entry point.
|
|
});
|