next.js
2c2996ed - turbopack-css: report recoverable CSS parse warnings with Warning severity

Commit
46 days ago
turbopack-css: report recoverable CSS parse warnings with Warning severity Previously, UnsupportedPseudoClass and UnsupportedPseudoElement selector errors were silently ignored, and all other unrecognized parse warnings were also dropped. Hard structural errors (UnexpectedToken, SelectorError, etc.) were emitted as IssueSeverity::Error. Now: - UnsupportedPseudoClass and UnsupportedPseudoElement emit as Warning since these are common in real-world CSS (vendor prefixes, custom frameworks) and do not prevent the stylesheet from being used. - All previously-ignored parser warnings are surfaced as Warning instead of being silently discarded. - Hard parse/transform errors remain as IssueSeverity::Error. Co-Authored-By: Claude <noreply@anthropic.com>
Author
Committer
Parents
Loading