We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353d697 commit 84b6f8bCopy full SHA for 84b6f8b
packages/svelte/src/compiler/phases/2-analyze/css/Selector.js
@@ -98,9 +98,7 @@ export default class Selector {
98
*/
99
apply(node) {
100
for (const complex_selector of this.local_selector_list) {
101
- if (complex_selector.length === 0) {
102
- this.used = true;
103
- } else if (apply_selector(complex_selector.slice(), node, this.stylesheet)) {
+ if (apply_selector(complex_selector.slice(), node, this.stylesheet)) {
104
this.used = true;
105
}
106
0 commit comments