ngc-webpack
Version:
A wrapper for the @ngtools/webpack with hooks into the compilation process
17 lines (16 loc) • 467 B
TypeScript
export interface CompilationOutput {
outputName: string;
source: string;
}
export declare class WebpackResourceLoader {
private _parentCompilation;
private _context;
private _uniqueId;
private _resourceDependencies;
constructor();
update(parentCompilation: any): void;
getResourceDependencies(filePath: string): string[];
private _compile(filePath);
private _evaluate(output);
get(filePath: string): Promise<string>;
}