UNPKG

571 BTypeScriptView Raw
1import * as webpack from 'webpack';
2import { Manifest, AsyncManifest } from './manifest';
3import { Entrypoints, Entrypoint, Chunk } from './entrypoints';
4export interface Options {
5 filename: string;
6 assetBasePath: string | false;
7}
8export interface AssetMetadata {
9 assets: Manifest;
10 entrypoints: Entrypoints;
11 asyncAssets: AsyncManifest;
12}
13export { Chunk, Entrypoint };
14export declare class AssetMetadataPlugin implements webpack.Plugin {
15 private options;
16 constructor(options?: Partial<Options>);
17 apply(compiler: webpack.Compiler): void;
18}