@gforces/webpack-assets-map-plugin
Version:
Exports map of webpack compilation entrypoints and assets
27 lines (23 loc) • 532 B
TypeScript
type AssetsMapPluginResults = {
buildTime: number;
entrypoints: {
[name: string]: string[];
}
assets?: {
[source: string]: string;
}
auxiliaryFiles?: string[]
};
type AssetsMapPluginOptions = {
assets: boolean;
auxiliaryFiles: boolean;
clean: boolean;
entrypointsDependencies: boolean;
formatter: (output: AssetsMapPluginResults) => string;
output: string;
rootPath: string;
}
declare class AssetsMapPlugin {
constructor(options?: Partial<AssetsMapPluginOptions>);
}
export = AssetsMapPlugin;