build-if.macro
This is a [babel macro](https://github.com/kentcdodds/babel-plugin-macros) that lets you test a predicate at build-time, leaving the unused branch out of your runtime code, and pruning away any imports that were used only by the unused branch.
64
Security score
0 known advisories in v0.1.0
OpenSSF Scorecard 1.5/10
Weekly downloads
—
Unpacked size
17.8 kB
Dependencies
1
Last publish
7 years ago
Security advisories
No known vulnerabilities affect v0.1.0.
OpenSSF ScorecardAug 24, 2026
- Code-Review0
- Binary-Artifacts10
- SAST0
- Maintained0
- CII-Best-Practices0
- Security-Policy0
- Fuzzing0
- License0
- Branch-Protection0