Files
o11y-components/packages/tailwind-config/tsup.config.ts
Shaheer KochaiandGitHub 7993afe1b2 feat: upgrade tailwindcss to v4 (#46)
* 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
2025-04-23 14:48:57 +04:30

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.
});