We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a716774 + eb4eeb4 commit 446618eCopy full SHA for 446618e
config/index.md
@@ -362,7 +362,7 @@ export default defineConfig(({ command, mode }) => {
362
})
363
```
364
365
- 默认情况下,e s build 会被应用在 `ts`、`jsx`、`tsx` 文件。你可以通过 `esbuild.include` 和 `esbuild.exclude` 对要处理的文件类型进行配置,这两个配置的值可以是一个正则表达式、一个 [picomatch](https://github.com/micromatch/picomatch#globbing-features) 模式,或是一个值为这两种类型的数组。
+ 默认情况下,esbuild 会被应用在 `ts`、`jsx`、`tsx` 文件。你可以通过 `esbuild.include` 和 `esbuild.exclude` 对要处理的文件类型进行配置,这两个配置的值可以是一个正则表达式、一个 [picomatch](https://github.com/micromatch/picomatch#globbing-features) 模式,或是一个值为这两种类型的数组。
366
367
此外,你还可以通过 `esbuild.jsxInject` 来自动为每一个被 esbuild 转换的文件注入 JSX helper。
368
0 commit comments