mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
aebf1158f6
Since v15, prod mode is handled by the CLI with the `optimization` flag. We can remove the environement files and `enableProdMode` when the tests use the CLI. PR Close #49746
7 lines
213 B
TypeScript
7 lines
213 B
TypeScript
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
|
import { AppModule } from './app/app.module';
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
.catch(err => console.error(err));
|