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 982498b592..0fd5b69925 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 ce1b92bbc8..fbd0d0134d 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
@@ -564,7 +564,8 @@
type HookList = {
name : string ;
- apply : ( compiler : ICompiler ) => void .
+ apply : ( compiler : ICompiler ) => void ;
+ applyAfterBuiltIn ? : boolean ;
}
Default : []
.
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 789ef3e425..65c72758c7 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 49988e7dca..6e4200cafa 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 a503563603..e85947661e 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 0ce8da12af..0ec14ad877 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 63836a913b..4c7887bd96 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 1ccf237529..b9f4943e4b 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 961b1be4f2..7157a275ff 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 4be1e3f428..87eaa9b99d 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 fc133bab1c..8fa9c6c298 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 0e4091d5bb..29b444a5a6 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 de71c7c81c..5af767274c 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 cbf417d661..b4829fdbbd 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 9e8a59dba6..0d170a4055 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 40089a9f86..b96346b8c4 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 7fcb0a6ac9..4510955abf 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 5e90eeede0..64da88bc40 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 93eba035cf..299dfa0d0d 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
@@ -75,6 +75,8 @@
AsyncSer
Serial hooks that stop the execution of other tapped functions if a tapped function returns a non-undefined result.
AsyncSeriesWaterFallHooks
Serial hooks whose results are passed to the next tapped function.
+
Hook Order
+
The execution order of hooks follows the registration order. You can control whether a hook is registered before or after the built-in hooks using applyAfterBuiltIn
.
Hook API
load
@@ -293,7 +295,7 @@ namespace: 'file' ,
sideEffects: undefined,
suffix: ''
- } +0ms
+
} +0ms
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 674e10682c..37682e0076 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 b970f39890..40f92d9619 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 ca1269a9a8..532f2030e7 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 baca8fea87..731f4c7c22 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 5c1cc2959c..bf400f89eb 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 8c485150f9..b5652374cb 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 972add626b..0d4def247b 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 ceff844006..83d2257ecc 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 5b12ba0edc..6273c50284 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 561a379ee5..d2c5948f0a 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 b17396da58..0b3a35ae93 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 d0ded2394a..8e9486cfda 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
-
+
Build FAQ
diff --git a/modern-js/module-tools/en/guide/faq/index.html b/modern-js/module-tools/en/guide/faq/index.html
index 67ca8807f8..3cb55a67b9 100644
--- a/modern-js/module-tools/en/guide/faq/index.html
+++ b/modern-js/module-tools/en/guide/faq/index.html
@@ -7,7 +7,7 @@
FAQ - Modern.js Module
-
+
FAQ
diff --git a/modern-js/module-tools/en/guide/faq/storybook.html b/modern-js/module-tools/en/guide/faq/storybook.html
index 44ba7ac68d..e8bfd37db7 100644
--- a/modern-js/module-tools/en/guide/faq/storybook.html
+++ b/modern-js/module-tools/en/guide/faq/storybook.html
@@ -7,7 +7,7 @@
Storybook FAQ - Modern.js Module
-
+
Storybook FAQ
diff --git a/modern-js/module-tools/en/guide/intro/getting-started.html b/modern-js/module-tools/en/guide/intro/getting-started.html
index 8527c71a38..dce1c010a9 100644
--- a/modern-js/module-tools/en/guide/intro/getting-started.html
+++ b/modern-js/module-tools/en/guide/intro/getting-started.html
@@ -7,7 +7,7 @@
Quick Start - Modern.js Module
-
+