Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-docs-cn/packages/examples/_common/main-dynamic.ts

14 lines
393 B
TypeScript
Raw Normal View History

fix(build): test example directories with unit and e2e tests (#11296)
2016-09-07 16:04:33 -07:00
/**
* @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 {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
perf: distrubute smaller bundled code and include es2015 bundle TypeScript compiler will now build to ES2015 code and modules. Babili is used to minify ES2015 code, providing an initial optimization that we couldn't previously get just from Uglify. Uses Babel to convert ES2015 to UMD/ES5 code, and Uglify to minimize the output.
2017-01-27 17:39:48 -08:00
import * as mod from './module';
fix(build): test example directories with unit and e2e tests (#11296)
2016-09-07 16:04:33 -07:00
perf: distrubute smaller bundled code and include es2015 bundle TypeScript compiler will now build to ES2015 code and modules. Babili is used to minify ES2015 code, providing an initial optimization that we couldn't previously get just from Uglify. Uses Babel to convert ES2015 to UMD/ES5 code, and Uglify to minimize the output.
2017-01-27 17:39:48 -08:00
if (mod.AppModule) {
platformBrowserDynamic().bootstrapModule(mod.AppModule);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 269ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API