docs(builder): optimize the document of tools configurations #3711
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
🤖 Generated by Copilot at 011e939
This pull request improves the formatting, consistency, grammar, and clarity of the English and Chinese documentation of various configuration options in the
builder-docpackage of themodern.jsrepository. It also fixes some minor errors and adds some examples and subheadings. The affected files are mostly in the./packages/document/builder-doc/docs/en/configand./packages/document/builder-doc/docs/zh/configdirectories.Details
🤖 Generated by Copilot at 011e939
output.dataUriLimit,output.distPath, andoutput.filenameconfiguration options (link, link, link, link, link, link)urlandcomponentin the English and Chinese documentation of theoutput.svgDefaultExportconfiguration option (link, link)tools.babelconfiguration option (link)tools.rspack,tools.styledComponents, andtools.webpackconfiguration options (link, link, link, link, link, link)tools.rspackandtools.webpackconfiguration options (link, link, link, link, link, link, link, link)tools.rspackandtools.webpackfunctions is used directly as the final configuration and not merged with the built-in configuration and rephrase the sentences to explain the second parameter of the function types in the English and Chinese documentation of thetools.rspackandtools.webpackconfiguration options (link, link, link, link)tools.rspackandtools.webpackconfiguration options (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)tools.bundlerChainandtools.webpackChainconfiguration options (link, link)Related Issue
Checklist
pnpm run change.