From c872a8a448346b1b369b62b99bfdb6e9cf6b306b Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sat, 23 Nov 2019 14:36:02 -0500 Subject: [PATCH] work around childKeys collision with Block comments and css (#3977) --- src/compiler/compile/Component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index 2d696ad306c7..476574631c01 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -43,6 +43,7 @@ interface ComponentOptions { childKeys.EachBlock = childKeys.IfBlock = ['children', 'else']; childKeys.Attribute = ['value']; childKeys.ExportNamedDeclaration = ['declaration', 'specifiers']; +childKeys.Block = ['children']; export default class Component { stats: Stats;