aurelia-webpack-plugin
Version:
A plugin for webpack that enables bundling Aurelia applications.
21 lines (20 loc) • 745 B
TypeScript
import { BaseIncludePlugin, AddDependency } from "./BaseIncludePlugin";
import * as Webpack from 'webpack';
declare module "minimatch" {
interface IMinimatch {
match(fname: string, partial: boolean): boolean;
}
}
export declare class GlobDependenciesPlugin extends BaseIncludePlugin {
private root;
private hash;
private modules;
/**
* Each hash member is a module name, for which globbed value(s) will be added as dependencies
**/
constructor(hash: {
[module: string]: string | string[];
});
apply(compiler: Webpack.Compiler): void;
parser(compilation: Webpack.Compilation, parser: Webpack.javascript.JavascriptParser, addDependency: AddDependency): void;
}