Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 19, 2024
1 parent 9a90b89 commit 9dabf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/src/compiler/phases/2-analyze/css/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function gather_possible_values(node, is_class, set, is_nested = false) {
}
} else {
for (const value of left) {
if (!value) {
if (!value && value != undefined && (!is_class || !is_nested)) {
set.add(value);
}
}
Expand Down

0 comments on commit 9dabf44

Please sign in to comment.