test: add integration test for lazy chunks in cli apps using experimentalRollupPass (#32957)
PR Close #32957
This commit is contained in:

committed by
Matias Niemelä

parent
609d2557bc
commit
6471a2668e
12
integration/cli-hello-world-lazy-rollup/src/main.ts
Normal file
12
integration/cli-hello-world-lazy-rollup/src/main.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
|
||||
import { AppModule } from './app/app.module';
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule)
|
||||
.catch(err => console.error(err));
|
Reference in New Issue
Block a user