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
fix: Add error recovery for @apply directives to avoid stuck error state
This commit addresses an issue where the PostCSS plugin would get stuck in an error state
when processing files with invalid @apply directives, particularly affecting Angular 19
applications. The fix:
1. Adds error recovery in the @apply directive processor to gracefully handle errors
2. Prevents the PostCSS plugin from getting stuck in an error state after encountering
an invalid @apply directive
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
- Don't scan `.db` files for classes by default ([#17711](https://github.com/tailwindlabs/tailwindcss/pull/17711))
18
18
- Hide default shadow suggestions when missing theme keys ([#17743](https://github.com/tailwindlabs/tailwindcss/pull/17743))
19
19
- Replace `_` with `.` in theme suggestions for `@utility` if surrounded by digits ([#17743](https://github.com/tailwindlabs/tailwindcss/pull/17743))
20
+
- PostCSS: Ensure that errors in stylesheet dependencies are recoverable ([#17754](https://github.com/tailwindlabs/tailwindcss/pull/17754))
21
+
22
+
### Changed
23
+
24
+
- Using unknown utilities with `@apply` will not cause the whole build to fail anymore ([#17754](https://github.com/tailwindlabs/tailwindcss/pull/17754))
0 commit comments