docs(module-tools): update plugins and api doc title #4101
Merged
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 bc4fdfe
This pull request reorganizes and updates the documentation for the
modern.js
framework, especially the builder plugins feature. It moves some files to different directories and languages, fixes typos and code formatting, and improves the type notation and clarity of the configuration options. It also changes the link texts to use quotation marks for consistency.Details
🤖 Generated by Copilot at bc4fdfe
buildConfig
option in thezh
anden
versions of thebuild-config.md
document to reflect the new location and language of the document and provide more details and clarity (link,link)build-preset.mdx
,design-system.md
,dev.md
,plugins.md
, andtesting.md
documents in thezh
anden
versions to reflect the new location and language of the document (link,link,link,link,link,link,link,link,link,link)zh
version of thebuilder-plugins.mdx
document to use named imports instead of default imports, as themy-builder-plugin
package and the localmyBuilderPlugin
file export the plugin as a named export (link,link,link)zh
anden
versions of thebuild-config.md
document fromObject
andArray
toobject
,object[]
,string | Function
, andstring
literals to use the lowercase notation for primitive types and the array and union notations for TypeScript (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,link,link,link,link,link)zh
anden
versions of various documents from brackets to quotation marks for consistency (link,link,link,link,link,link)zh
anden
versions of thedev.md
document fromts
tojs
or vice versa to match the file extension (link,link,link,link,link,link)@modern-js/module-tools
package in theen
version of theplugin-import.mdx
document to include thev
prefix for consistency and wrap the name of the package in backticks to indicate it is a code literal (link)en
version of theplugin-import.mdx
document to use named imports instead of default imports, as the@modern-js/module-tools
package exports thedefineConfig
function as a named export (link,link,link)pluginImport
option in theen
version of theplugin-import.mdx
document fromArray
toobject[]
to use the array notation for TypeScript (link)style.less.implementation
andstyle.sass.implementation
options in thezh
version of thebuild-config.md
document to use a more consistent wording (link,link)zh
anden
versions of various documents for consistency (link,link,link,link,link,link,link,link,link,link)zh
anden
versions of various documents for consistency (link,link,link)zh
anden
versions of various documents for better readability (link,link,link)en
version of theplugin-import.mdx
document to match the new code (link)Related Issue
Checklist
pnpm run change
.