Skip to content

Commit

Permalink
Update docs/docs/docs/api/plugin-api.md
Browse files Browse the repository at this point in the history
Co-authored-by: Peach <[email protected]>
  • Loading branch information
Jinbao1001 and PeachScript authored Mar 11, 2024
1 parent 7f1a902 commit ad90906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/docs/api/plugin-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ api.chainWebpack(( memo, { webpack, env}) => {
```
> 注意: 如果要添加自定义的文件类型相关 loader 请额外设置 `type: "javascript/auto"`,否则会命中兜底的 asset rule。示例如下:
```
```js
config.module
.rule('abc')
.test(/\.abc$/)
Expand Down

0 comments on commit ad90906

Please sign in to comment.