Skip to content

Commit 3c20494

Browse files
committed
docs(en): merging all conflicts
2 parents 3bce02d + a00ae88 commit 3c20494

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/index.md

+16
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,31 @@ export default defineConfig(async ({ command, mode }) => {
311311
- **类型:** `string | RegExp | (string | RegExp)[]`
312312
- **相关内容:** [静态资源处理](/guide/assets)
313313

314+
<<<<<<< HEAD
314315
指定其他文件类型作为静态资源处理,因此:
316+
=======
317+
Specify additional [picomatch patterns](https://github.com/micromatch/picomatch) to be treated as static assets so that:
318+
>>>>>>> a00ae88079d56399153ecf5b91b07378f8cd9f37
315319
316320
- 当从 HTML 引用它们或直接通过 `fetch` 或 XHR 请求它们时,它们将被插件转换管道排除在外。
317321

318322
- 从 JavaScript 导入它们将返回解析后的 URL 字符串(如果你设置了 `enforce: 'pre'` 插件来处理不同的资产类型,这可能会被覆盖)。
319323

320324
内建支持的资源类型列表可以在 [这里](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/constants.ts) 找到。
321325

326+
<<<<<<< HEAD
322327
### logLevel {#loglevel}
328+
=======
329+
**Example:**
330+
331+
```js
332+
export default defineConfig({
333+
assetsInclude: ['**/*.gltf']
334+
})
335+
```
336+
337+
### logLevel
338+
>>>>>>> a00ae88079d56399153ecf5b91b07378f8cd9f37
323339
324340
- **类型:** `'info' | 'warn' | 'error' | 'silent'`
325341

0 commit comments

Comments
 (0)