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 76371f7 commit aad2509Copy full SHA for aad2509
packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js
@@ -31,11 +31,9 @@ function is_global_block_selector(simple_selector) {
31
}
32
33
/**
34
- * @param {import('../types.js').Context["path"]} path
35
- * @returns
+ * @param {AST.SvelteNode[]} path
36
*/
37
function is_unscoped(path) {
38
- // remove every at rule or stylesheet and the current rule in case is passed in from `ComplexSelector`
39
return path
40
.filter((node) => node.type === 'Rule')
41
.every((node) => node.metadata.has_global_selectors);
0 commit comments