nrwl / nx-labs

A collection of Nx plugins
MIT License
140 stars 51 forks source link

chore: upgrade rspack to 0.5.1 #371

Closed rrjohnson85 closed 6 months ago

rrjohnson85 commented 8 months ago

Upgrade Rspack to 0.5.1 (see https://www.rspack.dev/blog/announcing-0.5).

As part of breaking changes, added @swc/helpers as a devDependency and added resolve.extensions.

rrjohnson85 commented 8 months ago

I'm getting a test timeout locally with rspack-e2e, but may be system related. Tests pass when increasing the timeout of 200_000.

RoyalHunt commented 8 months ago

Can we get it ASAP? We need it for the Module Federation feature that was added to rspack v5.

rrjohnson85 commented 8 months ago

@RoyalHunt I haven't tried Rspack with Module Federation, but I was able to use Nx and Rspack 0.5.x with the following changes: