webpack-css-treeshaking-plugin weekly downloads statistics
By lin-xi · npm · Webpack plugins
a webpack loader to shake unused css code.
webpack-css-treeshaking-plugin has 38 recorded weekly downloads on npm, a decrease of 47.2% over the past 30 days, ranking #1843 of 2,322 tracked listings.
About webpack-css-treeshaking-plugin
webpack-css-treeshaking-plugin
a webpack plugin to shake unused css code
how to use
npm install webpack-css-treeshaking-plugin -D
config it in your webpack configuration file, it depends on extracting styles to a file, so please use ExtractTextPlugin first.
var ExtractTextPlugin = require('extract-text-webpack-plugin')
const CssTreeShakingPlugin = require("webpack-css-treeshaking-plugin")
module.exports = {
plugins: [
new CssTreeShakingPlugin({
remove: false,
ignore: ['state-\d']
}),
new ExtractTextPlugin({
filename: 'build/style.css'
})
]
};
configuration
-
remove, boolean remove unused css
-
ignore, array items can be a string or a regexp
architechture
<img src="architechture.png">Description from the npm listing.
- webpack-plugin
- css tree shaking
- tree-shake
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 webpack-css-treeshaking-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/webpack-css-treeshaking-plugin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.