-
Notifications
You must be signed in to change notification settings - Fork 32
-
Notifications
You must be signed in to change notification settings - Fork 32
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]: Rsdoctor build error when rspack MultiCompiler scene #484
Comments
You can try to use the multiRspackPlugin of rsdoctor, 每个 rspack compiler 配置一下 rsdoctor plugin. similar as: https://github.com/web-infra-dev/rsdoctor/blob/main/examples/multiple-minimal/build.ts |
@easy1090 I think we should add |
ok, I add this documents. |
Version
Details
When Rsdoctor enables MultiCompiler in rspack, meaning rspack.config.js is an array, this.disposed = true prevents the server from being repeatedly initialized, leading to the error TypeError: Cannot read properties of undefined (reading 'app') at /@rsdoctor/sdk/dist/cjs/sdk/server/index.js:85 return this._server.app;.
Reproduce link
no
Reproduce Steps
when rspack is MultiCompiler
The text was updated successfully, but these errors were encountered: