@ape-egg/vibe-compiler
v3.0.4
Published
Optional Rust compiler for Vibe — pre-renders, inlines components, and optimizes iterations. The runtime never needs it.
Maintainers
Readme
@ape-egg/vibe-compiler
The optional Rust compiler for Vibe. The runtime never needs it — this package exists for when you want pre-rendered initial paint (hyperspeed manifests), build-time component inlining, iteration batch functions, custom-element transforms, or compiled SPA output.
bun add -d @ape-egg/vibe-compiler # or npm i -D
bunx vibe --init # write the vibe-compiler config into package.json
bunx vibe # compileCompiled output is, by invariant, still runtime Vibe code — compiling is an optimization, never a requirement.
Platform support
Prebuilt binaries ship for macOS arm64 and Linux x64. On any other platform the bin shim falls back to cargo run — you need a Rust toolchain, and the first compile builds from source (minutes, once). There is no Windows binary yet.
Configuration
Lives in your project's package.json under "vibe-compiler". See the Vibe compiler docs for every option and flag (--minify, --watch, --spa, --source, --output, and the *-as-is opt-outs).
