You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+++ b/docs/config/index.md@@ -313,7 +313,7 @@ export default defineConfig(async ({ command, mode }) => {
- **Type:** `string | RegExp | (string | RegExp)[]`- **Related:** [Static Asset Handling](/guide/assets)- Specify additional file types to be treated as static assets so that:+ Specify additional [picomatch patterns](https://github.com/micromatch/picomatch) to be treated as static assets so that:- They will be excluded from the plugin transform pipeline when referenced from HTML or directly requested over `fetch` or XHR.@@ -321,6 +321,14 @@ export default defineConfig(async ({ command, mode }) => {
The built-in asset type list can be found [here](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/constants.ts).
+ **Example:**++ ```js+ export default defineConfig({+ assetsInclude: ['**/*.gltf']+ })+ ```+### logLevel- **Type:** `'info' | 'warn' | 'error' | 'silent'`
The text was updated successfully, but these errors were encountered:
docs: clarify assetsInclude (#4955) (05fae60)
The text was updated successfully, but these errors were encountered: