Skip to content
JS
Package

vite-plugin-lib-inject-css

Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.

v2.2.2, 10 Apr 2025MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install vite-plugin-lib-inject-css

Key numbers

As of 25 Sept 2026
Weekly downloads
255.2k
+73% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v2.2.2
GitHub stars
197
8 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 600.2k (5 May 2026)Low 79k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

255,236 downloads last week, 1,276,045 in the last month. The 12-month change of +73% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.2, 10 Apr 20251 year ago
First published
-
Last push to GitHub
10 Apr 2025532 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
152

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
23 kB
Dependencies (3)
picocolorsmagic-string@ast-grep/napi
Peer dependencies (1)
vite
npm install vite-plugin-lib-inject-css
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-lib-inject-css@2.2.2/
  • unpkghttps://unpkg.com/vite-plugin-lib-inject-css@2.2.2/
  • esm.shhttps://esm.sh/vite-plugin-lib-inject-css@2.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-generate-file23.7k-1 year agoESM + CommonJS-
vite-plugin-checker2.5m-2 months agoESM only-
@sveltejs/vite-plugin-svelte2.4m-1 day agoESM only-
vite-plugin-node53.3k-5 months agoCommonJS-
unplugin-info9.6k-5 months agoESM + CommonJS-
vite-plugin-relay-lite8.6k-10 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.