🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

chrome-extension-archive-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrome-extension-archive-webpack-plugin

Chrome Extension archive plugin for Webpack

latest
npmnpm
Version
0.1.13
Version published
Maintainers
1
Created
Source

chrome-extension-archive-webpack-plugin

npm version

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

NameTypeDefaultDescription
algorithmstringzipThe compression algorithm
filenamestringdirectory optionName of the archive
directorystringundefinedPath to the target directory
tostring.Output path
verbosebooleanfalseOutputs logs to console

Usage

Basic

import { ChromeExtensionArchiveWebpackPluginOptions } from 'chrome-extension-archive-webpack-plugin'

modules.exports = {
    plugins: [
        // This will create `build.zip` in current directory
        new ChromeExtensionArchiveWebpackPluginOptions({
            directory: 'build'
        })
    ]
}

Archive build directory

import { ChromeExtensionArchiveWebpackPluginOptions } from 'chrome-extension-archive-webpack-plugin'

modules.exports = {
    plugins: [
        // This will create `build.zip` from `build/` to `build/`
        new ChromeExtensionArchiveWebpackPluginOptions({
            directory: 'build',
            to: 'build'
        })
    ]
}

Change filename

import { ChromeExtensionArchiveWebpackPluginOptions } from 'chrome-extension-archive-webpack-plugin'

modules.exports = {
    plugins: [
        // This will create `myzip.zip` in current directory
        new ChromeExtensionArchiveWebpackPluginOptions({
            directory: 'build',
            filename: 'myzip'
        })
    ]
}

License

MIT

Keywords

obfuscation

FAQs

Package last updated on 03 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts