chrome-extension-archive-webpack-plugin
Create Chrome Extension archive for submitting to Chrome Web Store
Installation
npm i --save-dev html-webpack-plugin
yarn add --dev html-webpack-plugin
Options
algorithm | string | zip | The compression algorithm |
filename | string | directory option | Name of the archive |
directory | string | undefined | Path to the target directory |
to | string | . | Output path |
Usage
Basic
import {ChromeExtensionArchiveWebpackPluginOptions} from 'chrome-extension-archive-webpack-plugin'
modules.exports = {
plugins: [
new ChromeExtensionArchiveWebpackPluginOptions({
directory: 'build'
})
]
}
License
MIT