laravel-mix-glob
Version:
Laravel mix extension that add support for globs usage with an extensive concise api. For a more natural boosted productivity and dynamic. Configure once and forget about adding the files each time.
19 lines (18 loc) • 764 B
TypeScript
import { OutConfig } from "../../Glob";
/**
* The function map file to file directly, or using the base system
* if base provided then out is expected to be a directory. And the base system is used.
* And the specifier if provided would be used.
*
* If you want to map file to file directly. Then provide only the outFile option.
* Make sure you map to a valid file path.
*
* If out directory is provided and no base.
* Then the src files are mapped toward the out directory directly.
* And the specifier is used too as well.
*
* @param srcFile source file
* @param outConfig OutMapping configuration
* @returns mapped file
*/
export declare function mapSrcFile(srcFile: string, mixFuncName: string, outConfig: OutConfig): string;