refactor(compiler-cli): add flag to enable selectorless (#60977)

Adds a private flag that we can use to enable selectorless as it's being developed.

PR Close #60977
This commit is contained in:
Kristiyan Kostadinov
2025-04-23 11:29:21 +02:00
committed by Miles Malerba
parent c2987d8402
commit bc9a067ef4
12 changed files with 61 additions and 9 deletions
@@ -231,6 +231,8 @@ function ingestNodes(unit: ViewCompilationUnit, template: t.Node[]): void {
ingestForBlock(unit, node);
} else if (node instanceof t.LetDeclaration) {
ingestLetDeclaration(unit, node);
} else if (node instanceof t.Component) {
// TODO(crisbeto): account for selectorless nodes.
} else {
throw new Error(`Unsupported template node: ${node.constructor.name}`);
}