UNPKG

ngc-webpack

Version:

A wrapper for the @ngtools/webpack with hooks into the compilation process

5 lines (4 loc) 447 B
import * as ts from 'typescript'; import { ReplaceNodeOperation } from './fw/interfaces'; export declare function inlineResources(getResource: (resourcePath: string) => string | undefined, shouldTransform: (fileName: string) => boolean): ts.TransformerFactory<ts.SourceFile>; export declare function findResources(sourceFile: ts.SourceFile, createInlineLiteral: (resourcePath: string) => ts.LiteralExpression | undefined): ReplaceNodeOperation[];