package
Creates manifest json file based you config
npm install webpack-extension-manifest-pluginGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Creates manifest json file based on you config
Simplifies the development of cross-platform browser extension
npm i -D webpack-extension-manifest-pluginNote: This project is compatible with node v10+
baseManifest.js
export default {
name: 'my manifest'
};webpack.config.js
import WebpackExtensionManifestPlugin from 'webpack-extension-manifest-plugin';
module.exports = {
plugins: [
new WebpackExtensionManifestPlugin({
config: {
base: './baseManifest.js',
extend: {description: 'my description'}
},
pkgJsonProps: [
'version'
]
})
]
};
Create manifest.json with extend configs {name: 'my manifest', description: 'my description', version: '0.0.0'}
configType: Object
Default: {}
Description: 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)
minifyType: Boolean
Default: false
Description: Controls if the output should be minified
pkgJsonPropsType: Array of strings
Description: Adds specified properties from your package.json file into the manifest
Estimated unpacked size across 12 packages.
3.0 MB
Includes dependencies.
3 direct · 1 outdated