angular-cn/modules/benchmarks/src/largeform/ng2/index_aot.ts

17 lines
483 B
TypeScript

/**
* @license
* Copyright Google Inc. 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 {enableProdMode} from '@angular/core';
import {platformBrowser} from '@angular/platform-browser';
import {AppModuleNgFactory} from './app.ngfactory';
import {init} from './init';
enableProdMode();
platformBrowser().bootstrapModuleFactory(AppModuleNgFactory).then(init);