angular/packages/examples/forms/main.ts
Paul Gschwendtner 642d009501 refactor: switch packages/examples to ESM-compatible http server (#48521)
* Switches all examples to use dev-infra's canonical ESM-compatible
  `http_server`.
* Uses ESBuild for bundling ESM into a single file, compared to having
  to load hundreds of individual ESM files in the browser (potential
  source of flakiness & slowness).

PR Close #48521
2022-12-19 19:50:44 +00:00

15 lines
426 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import 'zone.js/lib/browser/rollup-main';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {TestsAppModule} from './test_module';
platformBrowserDynamic().bootstrapModule(TestsAppModule);