Files
planilla/ui/postcss.config.js
google-labs-jules[bot] cea7f7c466 fix(ui): Correct PostCSS configuration for Tailwind CSS with Vite
I've resolved an issue where Tailwind CSS was being incorrectly configured as a direct PostCSS plugin, leading to errors when using `@tailwindcss/vite`.

The `postcss.config.js` file was updated to remove the explicit `tailwindcss: {}` plugin entry. The `@tailwindcss/vite` plugin, as configured in `vite.config.js`, correctly handles the integration of Tailwind CSS into the PostCSS pipeline.

The `autoprefixer` plugin is retained in the PostCSS configuration.

This change ensures that Tailwind CSS is processed correctly by Vite, eliminating build errors related to PostCSS plugin misconfiguration and aligning with the recommended setup for Tailwind CSS v4 and Vite.
2025-05-31 07:37:11 +00:00

7 lines
141 B
JavaScript

export default {
plugins: {
// Tailwind CSS is handled by the @tailwindcss/vite plugin in vite.config.js
autoprefixer: {},
},
};