Package Exports
- @nx/angular-rspack
- @nx/angular-rspack/loaders/angular-loader
- @nx/angular-rspack/loaders/angular-partial-transform-loader
- @nx/angular-rspack/loaders/platform-server-exports-loader
Readme
Nx: Smart Repos · Fast Builds
Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
Build Angular with Rspack
The goal of @nx/angular-rspack is to make easy and straightforward to build Angular applications with rspack.
Getting Started
Step 1: Create a new Nx Workspace with Angular Rspack Application
npx create-nx-workspace myorg
NX Let's create a new workspace [[https://nx.dev/getting-started/intro](https://nx.dev/getting-started/intro)]
✔ Which stack do you want to use? · angular
✔ Integrated monorepo, or standalone project? · integrated
✔ Application name · myorg
✔ Which bundler would you like to use? · rspack
✔ Default stylesheet format · css
✔ Do you want to enable Server-Side Rendering (SSR)? · No
✔ Which unit test runner would you like to use? · vitest
✔ Test runner to use for end to end (E2E) tests · playwright
✔ Which CI provider would you like to use? · skip
✔ Would you like remote caching to make your build faster? · skip
NX Creating your v20.8.0 workspace.Step 2: Run Build and Serve commands
npx nx build myorg
npx nx serve myorgGetting Started
Creating an Nx Workspace
Using npx
npx create-nx-workspaceUsing npm init
npm init nx-workspaceUsing yarn create
yarn create nx-workspaceAdding Nx to an Existing Repository
Run:
npx nx@latest init