Package
unplugin-preprocessor-directives
<img src="assets/logo.svg" alt="logo" width="100" height="100" align="right" />
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.8k
- +12% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 10 months ago
- v1.2.0
- GitHub stars
- 131
- 14 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 21
Downloads
Last week 2026-09-15 to 2026-09-21
4,847 downloads last week, 21,151 in the last month. The 12-month change of +12% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.2.0, 5 Nov 202510 months ago
- First published
- -
- Last push to GitHub
- 6 Nov 2025323 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 21
- Dependents on npm
- 3
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)
- 240 kB
- Dependencies (5)
unpluginpicocolorsmagic-stringdotenv-expand@jridgewell/remapping- Peer dependencies (8)
viterollupesbuildwebpack@nuxt/kit@farmfe/core@nuxt/schema@rspack/core
npm install unplugin-preprocessor-directives- jsDelivr
https://cdn.jsdelivr.net/npm/unplugin-preprocessor-directives@1.2.0/ - unpkg
https://unpkg.com/unplugin-preprocessor-directives@1.2.0/ - esm.sh
https://esm.sh/unplugin-preprocessor-directives@1.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| unplugin-info | 9.6k | - | 5 months ago | ESM + CommonJS | - |
| sonda | 122.8k | - | 2 months ago | ESM only | - |
| rollup-plugin-stats | 190.9k | - | 1 month ago | ESM + CommonJS | - |
| rollup-plugin-webpack-stats | 198.7k | - | 1 month ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 4847 < 10000.