nx/packages/rspack/README.md
2024-09-18 10:27:05 +01:00

1.6 KiB

Nx - Smart Monorepos · Fast CI

{{links}}


Nx: Smart Monorepos · Fast CI

Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.

This package is a Rspack plugin for Nx.

{{content}}

Nx - Smart, Fast and Extensible Build System


Nx: Smart, Fast and Extensible Build System

Nx is a next generation build system with first class monorepo support and powerful integrations.

This package is a Rspack plugin for Nx.

Getting Started

Use --preset=@nx/rspack when creating new workspace.

e.g.

npx create-nx-workspace@latest rspack-demo --preset=@nx/rspack

Now, you can go into the rspack-demo folder and start development.

cd rspack-demo
npm start

You can also run lint, test, and e2e scripts for the project.

npm run lint
npm run test
npm run e2e

Existing workspaces

You can add Rspack to any existing Nx workspace.

First, install the plugin:

npm install --save-dev @nx/rspack

Then, r

Note: You must restart the server if you make any changes to your library.