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.
21 lines (20 loc) • 827 B
TypeScript
import { Api as MixApi } from 'laravel-mix';
import { WatchingManager } from "../WatchingManager";
import { TMappedExtendedApi } from './MixApiManager/types';
import { MixApiManager } from './MixApiManager';
import { IOptions } from './types';
export declare class MixGlob {
mix: MixApi;
originalMix: MixApi;
static originalMix: MixApi;
mixApiManager: MixApiManager;
watchingManager: WatchingManager;
constructor(options: IOptions);
/**
* laravel-mix call processing function after plugin extension
* @param methodName function called through mix
* @param args arguments the function was called with
* @returns this
*/
processCall<TMethodName extends keyof MixApi>(methodName: TMethodName, args: Parameters<TMappedExtendedApi[TMethodName]>): this;
}