Skip to content

Commit eb4eeb4

Browse files
authored
docs: fix typo
1 parent a716774 commit eb4eeb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export default defineConfig(({ command, mode }) => {
362362
})
363363
```
364364

365-
默认情况下,e s build 会被应用在 `ts``jsx``tsx` 文件。你可以通过 `esbuild.include``esbuild.exclude` 对要处理的文件类型进行配置,这两个配置的值可以是一个正则表达式、一个 [picomatch](https://github.com/micromatch/picomatch#globbing-features) 模式,或是一个值为这两种类型的数组。
365+
默认情况下,esbuild 会被应用在 `ts``jsx``tsx` 文件。你可以通过 `esbuild.include``esbuild.exclude` 对要处理的文件类型进行配置,这两个配置的值可以是一个正则表达式、一个 [picomatch](https://github.com/micromatch/picomatch#globbing-features) 模式,或是一个值为这两种类型的数组。
366366

367367
此外,你还可以通过 `esbuild.jsxInject` 来自动为每一个被 esbuild 转换的文件注入 JSX helper。
368368

0 commit comments

Comments
 (0)