Angular Rspack and Rsbuild Tools

Angular Rspack and Rsbuild Tools

Build and Serve Angular Applications with Rspack and Rsbuild

Rspack Logo

Rspack

Rspack is a drop-in replacement for Webpack, allowing migration of existing Angular Webpack projects to a modern, faster build system.

Rspack Logo

Rsbuild

Rsbuild is a build tool based on Rspack, however it does not support the Webpack ecosystem. It does provide OOTB Module Federation support and a plugin system for extending the build.

Rspack Logo

SSR + CSR Support

The plugins provided for Rspack and Rsbuild both support Angular Server Side Rendering and Client Side Rendering.

Lightning Fast Builds

Rspack and Rsbuild combine Rust and Typescript with a parallelized architecture to provide blazing fast builds with an extensible plugin system to enhance your builds.

These benchmarks are based on an 8000 component application, building Server and Client bundles, and run via a M3 Macbook Pro.

Rspack
19.974s (Prod SSR)18.239s (Prod)16.477s (Dev)
Rsbuild
24.69s (Prod SSR)20.49s (Prod)19.675s (Dev)
Esbuild
28.509s (Prod SSR)24.521s (Prod)18.719s (Dev)
Webpack
348.707s (Prod SSR)224.226s (Prod)234.449s (Dev)

It's worth noting that the build times are currently limited by the use of Angular's AOT compilation and JavaScript Transformer - the first using a TS Program and the second using Babel.

View the Benchmarks

Angular Rspack and Rsbuild Tools

Angular Rspack and Rsbuild Tools. Licensed under MIT.

GitHub

Built for production by Rsbuild