diff --git a/packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js index ff821d8533..ff827b0d03 100644 --- a/packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js +++ b/packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js @@ -43,7 +43,7 @@ const cqSyntax = fork({ this.skipSC(); - if (this.tokenType == Function && this.cmpStr(this.tokenStart, this.tokenEnd, 'layer(')) { + if (this.tokenType === Function && this.cmpStr(this.tokenStart, this.tokenEnd, 'layer(')) { children.push( this.Function(() => { const children = this.createList(); @@ -54,7 +54,7 @@ const cqSyntax = fork({ }, this.scope.AtrulePrelude) ); } else if ( - this.tokenType == Ident && + this.tokenType === Ident && this.cmpStr(this.tokenStart, this.tokenEnd, 'layer') ) { children.push(this.Identifier()); @@ -63,7 +63,7 @@ const cqSyntax = fork({ this.skipSC(); if ( - this.tokenType == Function && + this.tokenType === Function && this.cmpStr(this.tokenStart, this.tokenEnd, 'supports(') ) { children.push(