work around childKeys collision with Block comments and css (#3977)

pull/3979/head
Conduitry 6 years ago
parent 0aceccc31b
commit c872a8a448

@ -43,6 +43,7 @@ interface ComponentOptions {
childKeys.EachBlock = childKeys.IfBlock = ['children', 'else']; childKeys.EachBlock = childKeys.IfBlock = ['children', 'else'];
childKeys.Attribute = ['value']; childKeys.Attribute = ['value'];
childKeys.ExportNamedDeclaration = ['declaration', 'specifiers']; childKeys.ExportNamedDeclaration = ['declaration', 'specifiers'];
childKeys.Block = ['children'];
export default class Component { export default class Component {
stats: Stats; stats: Stats;

Loading…
Cancel
Save