diff --git a/packages/angular_devkit/build_optimizer/src/build-optimizer/build-optimizer.ts b/packages/angular_devkit/build_optimizer/src/build-optimizer/build-optimizer.ts index 209f409c345e..65b93f2731ea 100644 --- a/packages/angular_devkit/build_optimizer/src/build-optimizer/build-optimizer.ts +++ b/packages/angular_devkit/build_optimizer/src/build-optimizer/build-optimizer.ts @@ -37,6 +37,7 @@ const knownSideEffectFreeAngularModules = [ /[\\/]node_modules[\\/]@angular[\\/]upgrade[\\/]/, /[\\/]node_modules[\\/]@angular[\\/]material[\\/]/, /[\\/]node_modules[\\/]@angular[\\/]cdk[\\/]/, + /[\\/]node_modules[\\/]rxjs[\\/]/, ]; // Factories created by AOT are known to have no side effects.