
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@intervolga/optimize-cssnano-plugin
Advanced tools
WebPack 2+ plugin for CSS minification after ExtractTextPluging
It will search for CSS assets during the Webpack build and minimize it with cssnano. Solves extract-text-webpack-plugin CSS duplication problem.
Just like optimize-css-assets-webpack-plugin but more accurate with source maps.
Using npm:
$ npm install --save-dev @intervolga/optimize-cssnano-plugin
const OptimizeCssnanoPlugin = require('@intervolga/optimize-cssnano-plugin');
module.exports = {
module: {
loaders: [
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") }
]
},
plugins: [
new ExtractTextPlugin("styles.css"),
new OptimizeCssnanoPlugin({
sourceMap: nextSourceMap,
cssnanoOptions: {
preset: ['default', {
discardComments: {
removeAll: true,
},
}],
},
}),
]
}
css-minimizer-webpack-plugin is another popular plugin for optimizing and minimizing CSS assets in a webpack build. It uses cssnano under the hood but provides a more modern and flexible API compared to @intervolga/optimize-cssnano-plugin. It also supports parallel processing to speed up the build process.
mini-css-extract-plugin extracts CSS into separate files, creating a CSS file per JS file which contains CSS. It is often used in combination with cssnano for CSS optimization. While it focuses more on extracting CSS, it can be used alongside other plugins for optimization purposes.
FAQs
WebPack 2+ plugin for CSS minification after ExtractTextPluging
The npm package @intervolga/optimize-cssnano-plugin receives a total of 191,921 weekly downloads. As such, @intervolga/optimize-cssnano-plugin popularity was classified as popular.
We found that @intervolga/optimize-cssnano-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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.