UNPKG

webpack-assets-manifest

Version:

This Webpack plugin will generate a JSON file that matches the original filename with the hashed version.

175 lines (174 loc) 4.31 kB
export declare const optionsSchema: { title: string; description: string; type: "object"; additionalProperties: false; properties: { enabled: { type: "boolean"; default: true; }; assets: { type: "object"; default: {}; }; output: { type: "string"; default: string; }; replacer: { default: null; oneOf: ({ $ref: string; type?: undefined; } | { type: "array"; $ref?: undefined; })[]; }; space: { oneOf: ({ type: "integer"; multipleOf: number; minimum: number; minLength?: undefined; } | { type: "string"; minLength: number; multipleOf?: undefined; minimum?: undefined; })[]; default: number; }; writeToDisk: { oneOf: ({ type: "boolean"; const?: undefined; } | { const: string; type?: undefined; })[]; default: string; }; fileExtRegex: { oneOf: ({ instanceof: string; type?: undefined; const?: undefined; } | { type: "null"; instanceof?: undefined; const?: undefined; } | { const: false; instanceof?: undefined; type?: undefined; })[]; }; sortManifest: { default: true; oneOf: ({ type: "boolean"; instanceof?: undefined; } | { instanceof: string; type?: undefined; })[]; }; merge: { default: false; oneOf: ({ type: "boolean"; const?: undefined; } | { const: string; type?: undefined; })[]; }; publicPath: { default: null; oneOf: ({ type: "string"; instanceof?: undefined; } | { type: "boolean"; instanceof?: undefined; } | { type: "null"; instanceof?: undefined; } | { instanceof: string; type?: undefined; })[]; }; contextRelativeKeys: { type: "boolean"; default: false; }; apply: { $ref: string; }; customize: { $ref: string; }; transform: { $ref: string; }; done: { $ref: string; }; entrypoints: { type: "boolean"; default: false; }; entrypointsKey: { default: string; oneOf: ({ type: "string"; const?: undefined; } | { const: false; type?: undefined; })[]; }; entrypointsUseAssets: { type: "boolean"; default: false; }; integrity: { type: "boolean"; default: string; }; integrityHashes: { type: "array"; items: { type: "string"; enum: string[]; }; default: string[]; }; integrityPropertyName: { description: string; type: "string"; minLength: number; default: string; }; extra: { description: string; type: "object"; default: {}; }; }; definitions: { functionOrNull: { default: null; oneOf: ({ instanceof: string; type?: undefined; } | { type: "null"; instanceof?: undefined; })[]; }; }; };