From 21be0fb9269e0b5d16fa442c40de13a9a680e023 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 21 Mar 2019 13:51:03 -0700 Subject: [PATCH] fix(bazel): allow ng_module users to set createExternalSymbolFactoryReexports (#29459) PR Close #29459 --- packages/bazel/src/ngc-wrapped/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/bazel/src/ngc-wrapped/index.ts b/packages/bazel/src/ngc-wrapped/index.ts index 62c9993283..494ff29e91 100644 --- a/packages/bazel/src/ngc-wrapped/index.ts +++ b/packages/bazel/src/ngc-wrapped/index.ts @@ -105,6 +105,10 @@ export function runOneBuild(args: string[], inputs?: {[path: string]: string}): angularCompilerOptions.preserveWhitespaces = angularCompilerOptions.preserveWhitespaces || userConfig.angularCompilerOptions.preserveWhitespaces; + + angularCompilerOptions.createExternalSymbolFactoryReexports = + angularCompilerOptions.createExternalSymbolFactoryReexports || + userConfig.angularCompilerOptions.createExternalSymbolFactoryReexports; } }