rollup-plugin-postcss-lit weekly downloads statistics
By umbopepato · npm · Vite plugins
Rollup plugin to load PostCSSed stylesheets in LitElement components
rollup-plugin-postcss-lit has 2,650 recorded weekly downloads on npm, a decrease of 52.6% over the past 30 days.
It ranks #1226 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -47.9%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About rollup-plugin-postcss-lit
Rollup plugin postcss lit
Rollup plugin to load PostCSSed stylesheets in LitElement components
Install
Usage
Add postcssLit plugin _after_ postcss. This wraps PostCSSed styles in Lit's css template literal tag, so you can import them directly in your components.
Add PostCSSed stylesheets to your LitElement components:
JS version
Usage with lit-element
If you're using the lit-element package, set the importPackage option accordingly:
Usage with Vite
This plugin is pre-configured to work with Vite, just add it to plugins and your styles will be Lit-ified ✨
⚠️ Use the ?inline suffix to prevent Vite from adding the styles to the CSS bundle as well
Options
PostCSS plugin setup
rollup-plugin-postcss injects all the imported stylesheets in by default: this causes an unnecessary style duplication if you're using the default ShadowDOM -based style encapsulation in your Lit components. Unless you're using Light DOM, consider disabling the inject option:
When should I use it?
This plugin is meant to be used with rollup-plugin-postcss. If you only need to load plain css files in your LitElement components, consider using rollup-plugin-lit-css.
Contributors
License
This project is licensed under the MIT License, see LICENSE for details.
Description from the npm listing.
- postcss
- css
- lit
- lit-element
- lit-html
- sass
- scss
- less
- stylus
- css-modules
- rollup-plugin
- vite-plugin
Where rollup-plugin-postcss-lit sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Vite plugins plugins
Data 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/rollup-plugin-postcss-lit. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.