Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ignored and excluded classes to critical CSS extraction in …
…`collect` (#1102) * feat: add ignored and blocked classes lists to collect * feat: add exclusion functionality in handleAtRule * chore(changeset): add changeset for collect updates Co-authored-by: Ezlie Nguyen <ezlie.nguyen@airbnb.com>
- Loading branch information
1 parent
ac2d341
commit 77bcf2e
Showing
4 changed files
with
151 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@linaria/server': minor | ||
--- | ||
|
||
- 714a8e86: Modify the handling of CSS @ rules in `collect` to only include child rules if critical | ||
- 1559cfa9: Add support in `collect` for ignoring and blocking classes from the regex for critical CSS extraction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters