Skip to content

Commit

Permalink
docs(cn): fix the translation of description for createParser and `…
Browse files Browse the repository at this point in the history
…createGenerator` (#1784)
  • Loading branch information
yangin authored Apr 13, 2023
1 parent d4bb897 commit 50a13a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/api/normalmodulefactory-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ NormalModuleFactory.hooks.someHook.for('identifier').tap(/* ... */);

`HookMap<SyncBailHook>`

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

- 钩子参数:`identifier`

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

`HookMap<SyncBailHook>`

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

- 钩子参数:`identifier`

Expand Down

0 comments on commit 50a13a2

Please sign in to comment.