You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(@schematics/angular): add PostCSS configuration detection to tailwind schematic
The Tailwind schematic now intelligently handles existing PostCSS configurations.
Instead of unconditionally creating a new `.postcssrc.json` file, the schematic now searches for `postcss.config.json` or `.postcssrc.json` in both the workspace and project roots. If an existing configuration file is found, it is updated with the required `@tailwindcss/postcss` plugin. A new configuration file is only created if one does not already exist.
This prevents conflicts and makes the schematic safer to use in projects that already have a customized PostCSS setup.
0 commit comments