-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: "The 'compilation' argument must be an instance of Compilation error" after upgrade to v1.3.0 #9841
Comments
vue-loader
after upgrade to Rsbuild v1.3.0
Hello @axetroy. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️ |
Same here, I'm not using vue-loader (a React project)...
|
vue-loader
after upgrade to Rsbuild v1.3.0
Same issue for me as well using React. I was able to kind of isolate its behavior to the usage of 2 RsPack plugins: CopyRspackPlugin and CircularDependencyRspackPlugin. Managed to temporally bypass this error using a canary version of RsPack: @rspack-canary/[email protected] So for everyone interested this is the change I did in my package-lock.json:
Hopefully this issue will be solved in the upcoming version of RsPack. @chenjiahan nice job you did with the whole ecosystem you're building and improving - I am impressed (migrating from CRACO to RsBuild) - keep up the good work! Thanks! |
@Rain3ow Thank you for your information, it is very helpful ❤️. We will fix this issue soon. |
the same issue +1 |
For Rsbuild users, if you are importing // rsbuild.config.ts
- import { rspack } from "@rspack/core";
+ import { rspack } from '@rsbuild/core';
export default {
// ...
}; |
It works like a charm! Thank you! |
Upgrading |
Version
Details
It works fine in
1.2.19
, but fail when upgrade to1.3.0
Reproduce link
x
Reproduce Steps
rsbuild
commandThe text was updated successfully, but these errors were encountered: