UNPKG

mmir-webpack

Version:

Integration for MMIR library in webpack builds

16 lines (15 loc) 432 B
import { Compiler, Module } from 'webpack'; export interface FixedIdModule extends Module { libIdent(options: any): string; } export declare class ReplaceModuleIdPlugin { alias: { [id: string]: string; }; mmirDir: string; fileExtensions: RegExp; constructor(alias: { [id: string]: string; }, mmirDir: string, fileExtensions: RegExp); apply(compiler: Compiler): void; }