You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither of the generators @nx/rspack:convert-config-to-rspack-plugin or @nx/rspack:convert-webpack converts the webpack configuration of a NestJS application to rspack.
Expected Behavior
I'd expect:
A rspack.config.js configuration file to be generated inspired from the current webpack.config.js
The build target of the converted application project to be updated to use the new rspack configuration
Create a fresh workspace: npx create-nx-workspace nx-workspace --preset=nest --no-interactive
Add @nx/rspack to the workspace: cd nx-workspace && nx add @nx/rspack
Convert the webpack configuration to rspack:
a. npx nx g @nx/rspack:convert-webpack --project=nx-workspace
--OR--
b. npx nx g @nx/rspack:convert-config-to-rspack-plugin --project=nx-workspace
Current result:
3.a. Completes without touching any files
3.b. Fails with "NX Could not find any projects to migrate."
Current Behavior
Neither of the generators @nx/rspack:convert-config-to-rspack-plugin or @nx/rspack:convert-webpack converts the webpack configuration of a NestJS application to rspack.
Expected Behavior
I'd expect:
GitHub Repo
https://github.com/rujorgensen/nx-webpack-rspack-conf-issue
Steps to Reproduce
npx create-nx-workspace nx-workspace --preset=nest --no-interactive
cd nx-workspace && nx add @nx/rspack
a.
npx nx g @nx/rspack:convert-webpack --project=nx-workspace
--OR--
b.
npx nx g @nx/rspack:convert-config-to-rspack-plugin --project=nx-workspace
Current result:
3.a. Completes without touching any files
3.b. Fails with "NX Could not find any projects to migrate."
Nx Report
Failure Logs
Package Manager Version
❯ npm -v 10.2.4
Operating System
Additional Information
Running on Windows in WSL.
The text was updated successfully, but these errors were encountered: