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 aad2509 commit 77befcfCopy full SHA for 77befcf
packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js
@@ -194,8 +194,7 @@ const css_visitors = {
194
node.metadata.is_global_block = node.prelude.children.some((selector) => {
195
let is_global_block = false;
196
197
- for (let i = 0; i < selector.children.length; i++) {
198
- const child = selector.children[i];
+ for (const child of selector.children) {
199
const idx = child.selectors.findIndex(is_global_block_selector);
200
201
if (is_global_block) {
0 commit comments