Package
vite-plugin-lib-inject-css
Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/vite-plugin-lib-inject-css@2.2.2/ - unpkg
https://unpkg.com/vite-plugin-lib-inject-css@2.2.2/ - esm.sh
https://esm.sh/vite-plugin-lib-inject-css@2.2.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vite-plugin-generate-file | 23.7k | - | 1 year ago | ESM + CommonJS | - |
| vite-plugin-checker | 2.5m | - | 2 months ago | ESM only | - |
| @sveltejs/vite-plugin-svelte | 2.4m | - | 1 day ago | ESM only | - |
| vite-plugin-node | 53.3k | - | 5 months ago | CommonJS | - |
| unplugin-info | 9.6k | - | 5 months ago | ESM + CommonJS | - |
| vite-plugin-relay-lite | 8.6k | - | 10 months ago | ESM + CommonJS | - |
Indexability: Indexed.