ngm-cli
Version:
Simple way to manage angular submodules in one repository
13 lines (12 loc) • 546 B
TypeScript
/**
* Inline resources in a tsc/ngc compilation.
* @param projectPath {string} Path to the project.
*/
export declare function inlineResources(projectPath: any): Promise<[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}]>;
/**
* Inline resources from a string content.
* @param content {string} The source file's content.
* @param urlResolver {Function} A resolver that takes a URL and return a path.
* @returns {string} The content with resources inlined.
*/
export declare function inlineResourcesFromString(content: any, urlResolver: any): any;