Skip to content

Commit

Permalink
docs: correct asset generator filename property type (#7755)
Browse files Browse the repository at this point in the history
* Update module.mdx

* Update module.mdx
  • Loading branch information
nanianlisao authored Sep 2, 2024
1 parent 0e90da7 commit 599788b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/en/config/module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ A mimetype for data URI. Resolves from module resource extension by default. Onl

#### module.generator.asset.filename

- **Type:** `string`
- **Type:** `string | ((pathData: PathData, assetInfo?: AssetInfo) => string)`
- **Default:** `undefined`
- **Supported Template string:** checkout [`output.assetModuleFilename`](/config/output#outputassetmodulefilename)

Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/config/module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ dataUrl 的 MIME 类型,默认从模块资源扩展名解析。仅对模块类

#### module.generator.asset.filename

- **类型:** `string`
- **类型:** `string | ((pathData: PathData, assetInfo?: AssetInfo) => string)`
- **默认值:** `undefined`
- **支持的 Template string:** 参考 [`output.assetModuleFilename`](/config/output#outputassetmodulefilename)

Expand Down

0 comments on commit 599788b

Please sign in to comment.