mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
This commit updates the `ng generate application` to use the esbuild `application` builder. This also updates the schematics to support both `browser` and `application` builders. BREAKING CHANGE: `rootModuleClassName`, `rootModuleFileName` and `main` options have been removed from the public `pwa` and `app-shell` schematics.
8 lines
264 B
Plaintext
8 lines
264 B
Plaintext
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { AppComponent } from './app/app.component';
|
|
import { config } from './app/app.config.server';
|
|
|
|
const bootstrap = () => bootstrapApplication(AppComponent, config);
|
|
|
|
export default bootstrap;
|