
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
webpack-archive-plugin
Advanced tools
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
We found that webpack-archive-plugin 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.