Gathering detailed insights and metrics for optimize-css-assets-webpack-plugin-temp
Gathering detailed insights and metrics for optimize-css-assets-webpack-plugin-temp
Gathering detailed insights and metrics for optimize-css-assets-webpack-plugin-temp
Gathering detailed insights and metrics for optimize-css-assets-webpack-plugin-temp
A Webpack plugin to optimize \ minimize CSS assets.
npm install optimize-css-assets-webpack-plugin-temp
Typescript
Module System
Node Version
NPM Version
57
Supply Chain
73.3
Quality
70.6
Maintenance
50
Vulnerability
98.6
License
JavaScript (93.34%)
CSS (6.66%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,147 Stars
64 Commits
58 Forks
13 Watchers
13 Branches
14 Contributors
Updated on May 06, 2025
Minified
Minified + Gzipped
Latest Version
1.3.2
Package Id
optimize-css-assets-webpack-plugin-temp@1.3.2
Size
6.67 kB
NPM Version
4.1.2
Node Version
7.7.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
This project forked from optimize-css-assets-webpack-plugin but accept this pull request to solve a source map issue temporary.
A Webpack plugin to optimize \ minimize CSS assets.
It will search for CSS assets during the Webpack build and will optimize \ minimize the CSS (by default it uses cssnano but a custom css processor can be specified).
Since extract-text-webpack-plugin only bundles (merges) text chunks, if its used to bundle CSS, the bundle might have duplicate entries (chunks can be duplicate free but when merged, duplicate CSS can be created).
The plugin can receive the following options (all of them are optional):
/\.css$/g
{}
true
1var OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); 2module.exports = { 3 module: { 4 loaders: [ 5 { test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") } 6 ] 7 }, 8 plugins: [ 9 new ExtractTextPlugin("styles.css"), 10 new OptimizeCssAssetsPlugin({ 11 assetNameRegExp: /\.optimize\.css$/g, 12 cssProcessor: require('cssnano'), 13 cssProcessorOptions: { discardComments: {removeAll: true } }, 14 canPrint: true 15 }) 16 ] 17}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
40 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More