File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
tests/legacy-cli/e2e/tests/build Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,11 @@ export default async function () {
124
124
buildTarget [ 'options' ] [ 'experimentalImportFactories' ] = true ;
125
125
} ) ;
126
126
// Both Ivy and View Engine should support it.
127
- await replaceLoadChildren ( `() => import('./lazy/lazy.module').then(m => m.LazyModule)` ) ;
127
+ // DO_NOT_SUBMIT
128
+ // `as any` is a workaround while waiting for https://github.com/angular/angular/pull/29392
129
+ // when that's merged remove the next line, and uncomment the one after it
130
+ await replaceLoadChildren ( `() => import('./lazy/lazy.module').then(m => m.LazyModule) as any` ) ;
131
+ // await replaceLoadChildren(`() => import('./lazy/lazy.module').then(m => m.LazyModule)`);
128
132
await ng ( 'e2e' ) ;
129
133
await ng ( 'e2e' , '--prod' ) ;
130
134
}
You can’t perform that action at this time.
0 commit comments