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.
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
/** @experimental */
|
||||
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
||||
|
||||
/** @experimental */
|
||||
export interface PlatformConfig {
|
||||
document?: string;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare const platformDynamicServer: (extraProviders?: Provider[]) => PlatformRef;
|
||||
|
||||
/** @experimental */
|
||||
export declare const platformServer: (extraProviders?: Provider[]) => PlatformRef;
|
||||
|
||||
/** @experimental */
|
||||
export declare class PlatformState {
|
||||
constructor(_doc: any);
|
||||
getDocument(): any;
|
||||
renderToString(): string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare function renderModule<T>(module: Type<T>, options: PlatformOptions): Promise<string>;
|
||||
|
||||
/** @experimental */
|
||||
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: PlatformOptions): Promise<string>;
|
||||
|
||||
/** @experimental */
|
||||
export declare class ServerModule {
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
Reference in New Issue
Block a user