fix(multi-plugin): fix multi-plugin options error #608
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fix the error when options is reportCodeType: { noCode: true } and use the multi-plugin.
Enhancements to
rsdoctor
plugins and configurations:e2e/cases/doctor-webpack/plugins/multi-plugin-brief.test.ts
: Added a new test case for thersdoctor
webpack plugin with brief mode options.e2e/cases/doctor-webpack/test-utils.ts
: Introduced a newcreateRsdoctorMultiPlugin
function to create instances ofRsdoctorWebpackMultiplePlugin
with enhanced options.packages/sdk/src/sdk/multiple/slave.ts
: Updated theRsdoctorPrimarySDK
class to include thetype
property in the constructor and initialization. [1] [2] [3]packages/webpack-plugin/src/multiple.ts
andpackages/rspack-plugin/src/multiple.ts
: Enhanced theRsdoctorWebpackMultiplePlugin
andRsdoctorRspackMultiplePlugin
classes to normalize user configurations and support additional options such asdisableTOSUpload
,innerClientPath
,printLog
,mode
, andbrief
. [1] [2]Updates to Husky hooks: typicode/husky#1480
.husky/post-checkout
: Removed the sourcing of the Husky script..husky/pre-commit
: Removed the sourcing of the Husky scriptRelated Links