webpack-extension-manifest-plugin
Version:
Creates manifest json file based you config
25 lines • 700 B
TypeScript
import { Compiler } from "webpack";
interface Options {
/**
* Can take a ready-made configuration or filename (to fetch from) for the manifest file, or a set of parameters `base`, `extend` (both of which can be a filename or an object)
*/
config: ({
base?: ({
[k: string]: unknown
} | string)
extends?: ({
[k: string]: unknown
} | string)
[k: string]: unknown
} | string)
/**
* Controls if the output should be minified
*/
minify?: boolean
/**
* Adds specified properties from your package.json file into the manifest
*/
pkgJsonProps?: unknown[]
}
declare class WebpackExtensionManifestPlugin{constructor(options:Options);apply(compiler:Compiler):void;}
export = WebpackExtensionManifestPlugin;