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