import { myEsbuildPlugin } from './myEsbuildPlugin' ;
diff --git a/modern-js/module-tools/components/release-module-doc.html b/modern-js/module-tools/components/release-module-doc.html
index 62262fe859..52f9a1a8b5 100644
--- a/modern-js/module-tools/components/release-module-doc.html
+++ b/modern-js/module-tools/components/release-module-doc.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/api/config/build-config.html b/modern-js/module-tools/en/api/config/build-config.html
index 9362e183ec..df9cb77434 100644
--- a/modern-js/module-tools/en/api/config/build-config.html
+++ b/modern-js/module-tools/en/api/config/build-config.html
@@ -7,7 +7,7 @@
buildConfig - Modern.js Module
-
+
buildConfig
@@ -738,8 +738,14 @@
resolve.a
A Module ID is incorrectly processed as a relative path, which is not expected.
We want to fix this issue, but it may break existing projects.
Therefore, in 2.58.0 , we provided resolve.alias
to solve this problem. Additionally, resolve.alias
removed the default value { "@": "./src"}
provided by alias .
-
If you need this feature, please use resolve.alias
and avoid mixing it with alias .
+
If you need this feature, please use resolve.alias
.
In the next major version, resolve.alias
will replace alias .
+
WARNING
+
+Note that this configuration should not be mixed with alias .
+Ensure that this configuration specifies a relative path, such as { "@": "./src" }
rather than { "@": "src"}
.
+
+
resolve.mainFields
A list of fields in package.json to try when parsing the package entry point.
diff --git a/modern-js/module-tools/en/api/config/build-preset.html b/modern-js/module-tools/en/api/config/build-preset.html
index b254cc4601..67f2298ff0 100644
--- a/modern-js/module-tools/en/api/config/build-preset.html
+++ b/modern-js/module-tools/en/api/config/build-preset.html
@@ -7,7 +7,7 @@
buildPreset - Modern.js Module
-
+
buildPreset
diff --git a/modern-js/module-tools/en/api/config/dev.html b/modern-js/module-tools/en/api/config/dev.html
index de6ccf83f8..09214f8a00 100644
--- a/modern-js/module-tools/en/api/config/dev.html
+++ b/modern-js/module-tools/en/api/config/dev.html
@@ -7,7 +7,7 @@
dev - Modern.js Module
-
+
dev
diff --git a/modern-js/module-tools/en/api/config/plugins.html b/modern-js/module-tools/en/api/config/plugins.html
index e56976fbdf..15134bbbd7 100644
--- a/modern-js/module-tools/en/api/config/plugins.html
+++ b/modern-js/module-tools/en/api/config/plugins.html
@@ -7,7 +7,7 @@
plugins - Modern.js Module
-
+
plugins
diff --git a/modern-js/module-tools/en/api/index.html b/modern-js/module-tools/en/api/index.html
index 8f693f7e8b..77ebcd4b13 100644
--- a/modern-js/module-tools/en/api/index.html
+++ b/modern-js/module-tools/en/api/index.html
@@ -7,7 +7,7 @@
Overview - Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html b/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html
index 08197a5781..d0bdc1d2de 100644
--- a/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html
+++ b/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html
@@ -7,7 +7,7 @@
Plugin Hooks - Modern.js Module
-
+
Plugin Hooks
diff --git a/modern-js/module-tools/en/components/faq-build-exception.html b/modern-js/module-tools/en/components/faq-build-exception.html
index c844360658..7d403d351e 100644
--- a/modern-js/module-tools/en/components/faq-build-exception.html
+++ b/modern-js/module-tools/en/components/faq-build-exception.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/components/faq-build-other.html b/modern-js/module-tools/en/components/faq-build-other.html
index 3e341a90b3..e94a240f00 100644
--- a/modern-js/module-tools/en/components/faq-build-other.html
+++ b/modern-js/module-tools/en/components/faq-build-other.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/components/faq-build-product.html b/modern-js/module-tools/en/components/faq-build-product.html
index 3c7ca7a791..310d93992c 100644
--- a/modern-js/module-tools/en/components/faq-build-product.html
+++ b/modern-js/module-tools/en/components/faq-build-product.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/components/faq-storybook.html b/modern-js/module-tools/en/components/faq-storybook.html
index eeaeca3800..dfa860eaf8 100644
--- a/modern-js/module-tools/en/components/faq-storybook.html
+++ b/modern-js/module-tools/en/components/faq-storybook.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/components/publish-emo.html b/modern-js/module-tools/en/components/publish-emo.html
index 15a836cfb7..819b6489bf 100644
--- a/modern-js/module-tools/en/components/publish-emo.html
+++ b/modern-js/module-tools/en/components/publish-emo.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/components/register-esbuild-plugin.html b/modern-js/module-tools/en/components/register-esbuild-plugin.html
index 503abde9f2..2a07215756 100644
--- a/modern-js/module-tools/en/components/register-esbuild-plugin.html
+++ b/modern-js/module-tools/en/components/register-esbuild-plugin.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
modern.config.ts
import { myEsbuildPlugin } from './myEsbuildPlugin' ;
diff --git a/modern-js/module-tools/en/components/release-module-doc.html b/modern-js/module-tools/en/components/release-module-doc.html
index a10d9bf218..e33aff52a5 100644
--- a/modern-js/module-tools/en/components/release-module-doc.html
+++ b/modern-js/module-tools/en/components/release-module-doc.html
@@ -7,7 +7,7 @@
Modern.js Module
-
+
diff --git a/modern-js/module-tools/en/guide/advance/asset.html b/modern-js/module-tools/en/guide/advance/asset.html
index 46bb92ef8a..3677c7e1f9 100644
--- a/modern-js/module-tools/en/guide/advance/asset.html
+++ b/modern-js/module-tools/en/guide/advance/asset.html
@@ -7,7 +7,7 @@
Handle static assets - Modern.js Module
-
+
Handle static assets
diff --git a/modern-js/module-tools/en/guide/advance/build-umd.html b/modern-js/module-tools/en/guide/advance/build-umd.html
index e9788a7566..d0073a15f4 100644
--- a/modern-js/module-tools/en/guide/advance/build-umd.html
+++ b/modern-js/module-tools/en/guide/advance/build-umd.html
@@ -7,7 +7,7 @@
Build umd artifacts - Modern.js Module
-
+
Build umd artifacts
diff --git a/modern-js/module-tools/en/guide/advance/copy.html b/modern-js/module-tools/en/guide/advance/copy.html
index 316fa761ed..0ca26239e5 100644
--- a/modern-js/module-tools/en/guide/advance/copy.html
+++ b/modern-js/module-tools/en/guide/advance/copy.html
@@ -7,7 +7,7 @@
Use the Copy Tools - Modern.js Module
-
+
Use the Copy Tools
diff --git a/modern-js/module-tools/en/guide/advance/external-dependency.html b/modern-js/module-tools/en/guide/advance/external-dependency.html
index ce9033fe40..e90e210149 100644
--- a/modern-js/module-tools/en/guide/advance/external-dependency.html
+++ b/modern-js/module-tools/en/guide/advance/external-dependency.html
@@ -7,7 +7,7 @@
Handle third-party dependencies - Modern.js Module
-
+
Handle third-party dependencies
diff --git a/modern-js/module-tools/en/guide/advance/in-depth-about-build.html b/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
index 7f91d0e4ac..8f3e4f898e 100644
--- a/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
+++ b/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
@@ -7,7 +7,7 @@
In-depth understanding of build - Modern.js Module
-
+
In-depth understanding of build
diff --git a/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html b/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html
index ec6da7fda3..7c6f1b01d7 100644
--- a/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html
+++ b/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html
@@ -7,7 +7,7 @@
In-depth understanding of the dev command - Modern.js Module
-
+
In-depth understanding of the dev command
diff --git a/modern-js/module-tools/en/guide/basic/before-getting-started.html b/modern-js/module-tools/en/guide/basic/before-getting-started.html
index d2acba8a2d..c61524f352 100644
--- a/modern-js/module-tools/en/guide/basic/before-getting-started.html
+++ b/modern-js/module-tools/en/guide/basic/before-getting-started.html
@@ -7,7 +7,7 @@
Before you start - Modern.js Module
-
+
Before you start
diff --git a/modern-js/module-tools/en/guide/basic/command-preview.html b/modern-js/module-tools/en/guide/basic/command-preview.html
index 9c992fc9a4..080898ecb3 100644
--- a/modern-js/module-tools/en/guide/basic/command-preview.html
+++ b/modern-js/module-tools/en/guide/basic/command-preview.html
@@ -7,7 +7,7 @@
CLI Commands - Modern.js Module
-
+
CLI Commands
diff --git a/modern-js/module-tools/en/guide/basic/modify-output-product.html b/modern-js/module-tools/en/guide/basic/modify-output-product.html
index 7d39b4ec20..dfd5d4279a 100644
--- a/modern-js/module-tools/en/guide/basic/modify-output-product.html
+++ b/modern-js/module-tools/en/guide/basic/modify-output-product.html
@@ -7,7 +7,7 @@
Modify the output - Modern.js Module
-
+
Modify the output
diff --git a/modern-js/module-tools/en/guide/basic/publish-your-project.html b/modern-js/module-tools/en/guide/basic/publish-your-project.html
index 37de2b4198..23bfa84620 100644
--- a/modern-js/module-tools/en/guide/basic/publish-your-project.html
+++ b/modern-js/module-tools/en/guide/basic/publish-your-project.html
@@ -7,7 +7,7 @@
Versioning and Publishing - Modern.js Module
-
+
Versioning and Publishing
diff --git a/modern-js/module-tools/en/guide/basic/use-micro-generator.html b/modern-js/module-tools/en/guide/basic/use-micro-generator.html
index 9c65e46817..9d51638ff1 100644
--- a/modern-js/module-tools/en/guide/basic/use-micro-generator.html
+++ b/modern-js/module-tools/en/guide/basic/use-micro-generator.html
@@ -7,7 +7,7 @@
Using the Microgenerator - Modern.js Module
-
+
Using the Microgenerator
diff --git a/modern-js/module-tools/en/guide/basic/use-module-doc.html b/modern-js/module-tools/en/guide/basic/use-module-doc.html
index baf75ab57e..8bbc60de1c 100644
--- a/modern-js/module-tools/en/guide/basic/use-module-doc.html
+++ b/modern-js/module-tools/en/guide/basic/use-module-doc.html
@@ -7,7 +7,7 @@
Developing Module documentation - Modern.js Module
-
+
Developing Module documentation
diff --git a/modern-js/module-tools/en/guide/basic/using-storybook.html b/modern-js/module-tools/en/guide/basic/using-storybook.html
index d695f1baed..e8d715e53a 100644
--- a/modern-js/module-tools/en/guide/basic/using-storybook.html
+++ b/modern-js/module-tools/en/guide/basic/using-storybook.html
@@ -7,7 +7,7 @@
Using Storybook - Modern.js Module
-
+
Using Storybook
diff --git a/modern-js/module-tools/en/guide/best-practices/components.html b/modern-js/module-tools/en/guide/best-practices/components.html
index 713e4e9d4f..1608038c7c 100644
--- a/modern-js/module-tools/en/guide/best-practices/components.html
+++ b/modern-js/module-tools/en/guide/best-practices/components.html
@@ -7,7 +7,7 @@
Developing Components - Modern.js Module
-
+
Developing Components
diff --git a/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html b/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html
index 0c543d1708..f0902ed66e 100644
--- a/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html
+++ b/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html
@@ -7,7 +7,7 @@
Using Tailwind CSS - Modern.js Module
-
+
Using Tailwind CSS
diff --git a/modern-js/module-tools/en/guide/faq/basic.html b/modern-js/module-tools/en/guide/faq/basic.html
index 0eb3ffa2bd..3172465dbe 100644
--- a/modern-js/module-tools/en/guide/faq/basic.html
+++ b/modern-js/module-tools/en/guide/faq/basic.html
@@ -7,7 +7,7 @@
General Questions - Modern.js Module
-
+
General Questions
diff --git a/modern-js/module-tools/en/guide/faq/build.html b/modern-js/module-tools/en/guide/faq/build.html
index d782769724..ac43853fec 100644
--- a/modern-js/module-tools/en/guide/faq/build.html
+++ b/modern-js/module-tools/en/guide/faq/build.html
@@ -7,7 +7,7 @@
Build FAQ - Modern.js Module
-
+