Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
babel-minify-webpack-plugin-marcello
Advanced tools
This is a webpack plugin for Babili.
Babili - A babel based minifier - https://github.com/babel/babili
This might NOT be the best way to use babili. You can also use it with babel-loader for webpack (include babili
in list of presets) and should be faster than using this. Further info - #8.
npm install babili-webpack-plugin --save-dev
// webpack.config.js
const BabiliPlugin = require("babili-webpack-plugin");
module.exports = {
entry: //...,
output: //...,
plugins: [
new BabiliPlugin(options)
]
}
test
: JS file extension regex. Default: /\.js($|\?)/i
comments
: Preserve Comments. Default: /@preserve|@license/
. falsy value to remove all comments. Accepts function, object with property test (regex), and values.sourceMap
: Default: uses webpackConfig.devtool. Set this to override that.MIT
FAQs
Babel Minify Plugin for Webpack
We found that babel-minify-webpack-plugin-marcello 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.