From 7f1a9026cc36b93c25e101f74708793aeeaa8f35 Mon Sep 17 00:00:00 2001 From: Jinbao1001 Date: Mon, 11 Mar 2024 15:43:55 +0800 Subject: [PATCH] Update docs/docs/docs/api/plugin-api.md Co-authored-by: Peach --- docs/docs/docs/api/plugin-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/docs/api/plugin-api.md b/docs/docs/docs/api/plugin-api.md index 0cd3ba522862..fa954dded9eb 100644 --- a/docs/docs/docs/api/plugin-api.md +++ b/docs/docs/docs/api/plugin-api.md @@ -442,7 +442,7 @@ api.chainWebpack(( memo, { webpack, env}) => { memo.plugins.delete('progess'); }) ``` -> 注意: 如果要添加自定义的文件类型相关loader请额外设置 type: "javascript/auto",否则会进入异常的loader处理链路。示例如下: +> 注意: 如果要添加自定义的文件类型相关 loader 请额外设置 `type: "javascript/auto"`,否则会命中兜底的 asset rule。示例如下: ``` config.module