A high-performance Angular template compiler written in Rust, leveraging Oxc for blazing-fast compilation with Vite integration.
OXC Angular Compiler is an experimental Angular template compiler written in Rust that uses the Oxc infrastructure to dramatically improve compilation speeds. It provides a drop-in replacement for the standard Angular compiler with full feature support and seamless Vite integration. The project aims to solve performance bottlenecks in Angular build pipelines by leveraging native Rust compilation.
Angular developers and teams looking to significantly improve their build performance, especially those already using or interested in Vite for their development workflow. It's also relevant for developers interested in Rust-based tooling for frontend frameworks.
Developers choose OXC Angular Compiler for its exceptional performance gains—benchmarks show 20x faster builds compared to traditional Webpack setups. The unique combination of Rust's speed, Oxc's robust infrastructure, and seamless Vite integration provides a modern, high-performance alternative to standard Angular tooling.
Experimental Angular Compiler based Oxc
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks show 20x faster builds compared to Webpack setups, as demonstrated in cold production builds of the Bitwarden Web Vault.
First-class Vite plugin with full Hot Module Replacement support enables fast development cycles with HMR for templates and styles.
Comprehensively supports components, directives, pipes, injectables, NgModules, and i18n with XLIFF/XMB/XTB formats, ensuring drop-in compatibility.
Implements 67 optimization phases including constant folding and unused code removal, leading to efficient output code generation.
The project is marked as experimental and actively seeking maintainers, indicating potential bugs, breaking changes, and lack of production readiness.
Primarily optimized for Vite; other build tools like Webpack may not be fully supported without additional configuration or workarounds.
Requires specific versions of Node.js (20.19.0+ or 22.12.0+) and Vite (6.0.0+), and Rust toolchain for development, adding setup overhead.