Skip to content

Commit 50a13a2

Browse files
authored
docs(cn): fix the translation of description for createParser and createGenerator (#1784)
1 parent d4bb897 commit 50a13a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/api/normalmodulefactory-hooks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ NormalModuleFactory.hooks.someHook.for('identifier').tap(/* ... */);
8686

8787
`HookMap<SyncBailHook>`
8888

89-
`Parser` 实例创建后调用`parserOptions`[module.parser](/configuration/module/#moduleparser) 中对应标识符或空对象的选项。
89+
`Parser` 实例创建之前调用`parserOptions`[module.parser](/configuration/module/#moduleparser) 中对应标识符或空对象的选项。
9090

9191
- 钩子参数:`identifier`
9292

@@ -116,7 +116,7 @@ NormalModuleFactory.hooks.someHook.for('identifier').tap(/* ... */);
116116

117117
`HookMap<SyncBailHook>`
118118

119-
`Generator` 实例创建后调用`generatorOptions`[module.parser](/configuration/module/#modulegenerator) 中对应标识符或空对象的选项。
119+
`Generator` 实例创建之前调用`generatorOptions`[module.parser](/configuration/module/#modulegenerator) 中对应标识符或空对象的选项。
120120

121121
- 钩子参数:`identifier`
122122

0 commit comments

Comments
 (0)