ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
9 lines (8 loc) • 740 B
TypeScript
import type { CompilerHost, CompilerOptions } from '@angular/compiler-cli';
import ts from 'typescript';
import { FileCache } from '../file-system/file-cache';
import { BuildGraph } from '../graph/build-graph';
import { EntryPointNode } from '../ng-package/nodes';
import { InlineStyleLanguage, StylesheetProcessor } from '../styles/stylesheet-processor';
export declare function cacheCompilerHost(graph: BuildGraph, entryPoint: EntryPointNode, compilerOptions: CompilerOptions, moduleResolutionCache: ts.ModuleResolutionCache, stylesheetProcessor?: StylesheetProcessor, inlineStyleLanguage?: InlineStyleLanguage, sourcesFileCache?: FileCache): CompilerHost;
export declare function augmentProgramWithVersioning(program: ts.Program): void;