JSPM

@nx/angular-rspack

21.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2606
  • Score
    100M100P100Q121086F
  • License MIT

Rspack Plugin and Loaders for building Angular.

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
  • @nx/angular-rspack/ssr

Readme

Nx

@nx/angular-rspack

GitHub Actions License NPM Version


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 myorg

Documentation and Resources

Nx - Smart Monorepos · Fast CI