
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
webpack-archive-plugin-onpoint
Advanced tools
Webpack plugin to create archives of emitted files
Webpack plugin to create archives of emitted files.
npm install --save-dev webpack-archive-plugin
webpack.config.js:
let ArchivePlugin = require('webpack-archive-plugin');
module.exports = {
// configuration
output: {
path: __dirname + '/dist',
},
plugins: [
new ArchivePlugin(),
],
}
Will create two archives in the same directory as output.path (__dirname
in the example),
${output.path}.tar.gz
and ${output.path}.zip
containing all compiled assets.
You can pass options when constructing a new plugin, for example ArchivePlugin(options)
.
The options object supports the following properties:
string
-> Output location / name of archives (without extension)string
, array
-> Archive formats to use, can be 'tar'
or 'zip'
string
-> A different extension to use instead of tar.gz
or zip
(without leading .
)If options
is a string, this is eqiuvalent to passing {output: options}
.
FAQs
Webpack plugin to create archives of emitted files
The npm package webpack-archive-plugin-onpoint receives a total of 5 weekly downloads. As such, webpack-archive-plugin-onpoint popularity was classified as not popular.
We found that webpack-archive-plugin-onpoint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.