This reverts commit 7f8c2225f2
.
This commit caused test failures internally, which were traced back to the
optimizer removing NgModuleFactory constructor calls when those calls caused
side-effectful registration of NgModules by their ids.
PR Close #38303
This commit is contained in:

committed by
Michael Prentice

parent
6f54c28c87
commit
2cde8da71c
@ -292,6 +292,5 @@ export {
|
||||
ɵɵsanitizeUrl,
|
||||
ɵɵsanitizeUrlOrResourceUrl,
|
||||
} from './sanitization/sanitization';
|
||||
export {noSideEffects as ɵnoSideEffects} from './util/closure';
|
||||
|
||||
// clang-format on
|
||||
|
@ -28,7 +28,6 @@ export {ɵɵdefineNgModule} from './render3/definition';
|
||||
export {ɵɵFactoryDef} from './render3/interfaces/definition';
|
||||
export {setClassMetadata} from './render3/metadata';
|
||||
export {NgModuleFactory} from './render3/ng_module_ref';
|
||||
export {noSideEffects as ɵnoSideEffects} from './util/closure';
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user