Experimental Angular Compiler based Oxc
// momentum
// why it's here
- Active: last commit today
// how to help
// readme
OXC Angular Compiler
Warning
This project is in an experimental stage and is actively seeking maintainers.
A high-performance Angular template compiler written in Rust, leveraging the Oxc infrastructure for blazing-fast compilation.
Features
- Rust-Powered Performance - Native compilation via NAPI-RS for maximum speed
- Vite Integration - First-class Vite plugin with full HMR support
- Drop-in Compatible - API compatible with
@angular/compiler-cli - Full Angular Support - Components, directives, pipes, injectables, and NgModules
- Hot Module Replacement - Fast refresh for templates and styles during development
- Style Encapsulation - ViewEncapsulation.Emulated, None, and ShadowDom support
- i18n Ready - Message extraction with XLIFF 1.2/2.0, XMB, and XTB formats
- Build Optimizations - Constant folding, pure function extraction, unused code removal
Installation
npm install @oxc-angular/vite
# or
pnpm add @oxc-angular/vite
# or
yarn add @oxc-angular/vite