UNPKG

1.03 kBTypeScriptView Raw
1import 'reflect-metadata';
2import { CompilerHost, CompilerOptions } from 'typescript';
3import { HybridFileSystem } from '../util/hybrid-file-system';
4import { TsConfig } from '../transpile';
5import { BuildContext, CodegenOptions, SemverVersion } from '../util/interfaces';
6export declare function runAot(context: BuildContext, options: AotOptions): Promise<void>;
7export declare function isTranspileRequired(angularVersion: SemverVersion): boolean;
8export declare function transpileFiles(context: BuildContext, tsConfig: TsConfig, fileSystem: HybridFileSystem): void;
9export declare function isNg5(version: SemverVersion): boolean;
10export declare function runNg4Aot(options: CodegenOptions): Promise<any>;
11export declare function runNg5Aot(context: BuildContext, tsConfig: TsConfig, aggregateCompilerOptions: CompilerOptions, compilerHost: CompilerHost): Promise<void>;
12export interface AotOptions {
13 tsConfigPath: string;
14 rootDir: string;
15 entryPoint: string;
16 appNgModulePath: string;
17 appNgModuleClass: string;
18}