@sobagu/compiler weekly downloads statistics
By sobagu · npm · Webpack plugins
Build-time CSS for Sobagu CSS: one plugin for Vite, Rollup, webpack, esbuild and Rspack
@sobagu/compiler has 735 recorded weekly downloads on npm, ranking #2169 of 3,247 tracked listings.
About @sobagu/compiler
@sobagu/compiler
Build-time CSS for Sobagu. One plugin for Vite, Rollup, webpack, esbuild and Rspack that finds the styles in your code and writes them to a real CSS file at build time, so the page is styled on first paint and SSR needs no extra step. Values it can't see at build time still work: the small runtime adds them, and never injects a class twice.
Install
npm i -D @sobagu/compiler
Runs on Node 22.18+ or 24.11+.
Usage
// vite.config.ts
import sobagu from '@sobagu/compiler/vite'
export default { plugins: [sobagu()] }
// your entry file (main.tsx / main.ts)
import 'virtual:sobagu.css'
webpack, Rspack, Rollup and esbuild:
import sobagu, { rspack, rollup, esbuild } from '@sobagu/compiler/webpack'
// webpack: config.plugins.push(sobagu()) Rspack: config.plugins.push(rspack())
// Rollup: plugins: [rollup()] esbuild: plugins: [esbuild()]
// entry file: the plain name works everywhere, and webpack needs it ("virtual:" is a URL scheme to webpack)
import 'sobagu.css'
Next.js builds with Turbopack by default, which the compiler doesn't support yet: use Next.js in webpack mode
(next build --webpack), or skip the compiler (runtime styles + getCssText() for SSR).
Docs
- Build-time CSS (compiler): what it finds, options and SSR
Sobagu is in 0.x: the API can still change between minor versions.
Licence
MIT © 2026 Sobagu contributors
Description from the npm listing.
- vite-plugin
- webpack-plugin
- rollup-plugin
- esbuild-plugin
- rspack
- css
- zero-runtime
- atomic-css
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 (121)Similar npm Webpack plugins plugins
All 20 @sobagu/compiler 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/@sobagu/compiler. First seen Dec 2, 2026; last successful collection Dec 6, 2026. See the methodology.