From 84084b1bdb4e9a84c8c0e69250465c1ae42957a5 Mon Sep 17 00:00:00 2001 From: JoostK Date: Mon, 3 Dec 2018 22:16:31 +0100 Subject: [PATCH] fix(ivy): make exported pipes available in module scope (#27438) This is tested in the Ivy CLI integration test. PR Close #27438 --- packages/core/src/render3/jit/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/render3/jit/module.ts b/packages/core/src/render3/jit/module.ts index 9ecddd2c75..a39703a960 100644 --- a/packages/core/src/render3/jit/module.ts +++ b/packages/core/src/render3/jit/module.ts @@ -253,7 +253,7 @@ export function transitiveScopesFor(moduleType: Type): NgModuleTransitiveS scopes.compilation.pipes.add(entry); scopes.exported.pipes.add(entry); }); - } else if (getNgModuleDef(exportedTyped)) { + } else if (getPipeDef(exportedTyped)) { scopes.exported.pipes.add(exportedTyped); } else { scopes.exported.directives.add(exportedTyped);