@angular-builders/custom-webpack
Version:
Custom webpack builders for Angular build facade. Allow to modify Angular build configuration without ejecting it
14 lines (13 loc) • 495 B
TypeScript
import { logging } from '@angular-devkit/core';
/**
* check for TS node registration
* @param file: file name or file directory are allowed
* @todo tsNodeRegistration: require ts-node if file extension is TypeScript
*/
export declare function tsNodeRegister(file: string, tsConfig: string, logger: logging.LoggerApi): void;
/**
* Loads CJS and ESM modules based on extension
* @param path path to the module
* @returns
*/
export declare function loadModule<T>(path: string): Promise<T>;