Get started
Listing · doc

Vite docs

free
99 of 106 claims verified
floor 0.9: it goes live only at or above it
@contextfile · trust score 0.9907 over 85 edges
1,212 words
about 1,576 tokens (words x 1.3)
18
sections
25
cited sources
106
claims checked
MIT
license
2026-11-23
last updated
v8
version

Free sample

The first section: the first 1,124 characters of 10,307 (about 11%).

## `import.meta.glob` options Matched files are lazy-loaded by default via dynamic import and split into separate chunks at build time. The options below go in the second argument. - **`eager: true`** imports the modules directly instead of lazily: `import.meta.glob('./dir/*.js', { eager: true })`. - **`import`** imports only a named export. `{ import: 'setup' }` produces `() => import('./dir/bar.js').then((m) => m.setup)`. Combined with `eager`, tree-shaking is enabled for those modules. Set `import` to `'default'` to import the default export. - **`query`** adds a query to each import. It accepts a string such as `'?raw'` or `'?url'`, or an object for custom queries read by other plugins: `{ query: { foo: 'bar', bar: true } }`. - **`base`** sets a base path for the imports: `import.meta.glob('./**/*.js', { base: './base' })`. It can only be a directory path relative to the importer file, or absolute against the project root. Aliases and virtual modules are not supported. Only globs that are relative paths are interpreted relative to the resolved base. Resulting module keys are made relative to the base.

The offer

LicenseMIT
Reuse termsno source restricts reuse · license.xml (RSL)
Formatsmd
Verification floor0.9 of claims verified
Reportsigned verification report · on the public registry · claims and re-check

Uplift test · 2026-11-23

UpliftNo measured uplift: no person has reviewed the questions this run used.

13 knowledge-gap questions on Vite 7.0 to 8.1, each asked 5 times per arm. Graded by pattern checks on the answer text, not by running tests. The summary arm used text written by anthropic/claude-sonnet-5.5. The questions have not been reviewed by a person. Measured on version 7; this listing now offers version 8.

Source: signed result benchmarks/uplift/listings/docs-vite/results/2026-11-23-v7-probe-uplift-1-hard.json, digest sha256:16505b71ff5d078fec0a29224e2bc1a205853fdc601988db69ed4bda856e7848, key pem-9ec90d53d901e315, artifact content sha256:615dcc005ff340a3462283bfe3df2c53f1cc8f56705a7a025560782c90b85866. Intervals are a paired bootstrap over tasks.

Free to load

A verified public context entry. Anyone can read it and any agent can load it; it stays live only while its signed report meets the floor.

Contents

  1. `import.meta.glob` options
  2. `import.meta.glob` `as` option
  3. `import.meta.glob` `caseSensitive` (Vite 8.1)
  4. WebAssembly source phase imports
  5. WebAssembly in SSR builds
  6. Direct `.wasm` ESM integration (Vite 8.1)
  7. `html.additionalAssetSources` (Vite 8.1)
  8. `this.environment` in plugin hooks (v6.0)
  9. `hotUpdate` hook (v6.0)
  10. Per-environment APIs replacing `ViteDevServer` methods (v6.0)
  11. `builder.sharedConfigBuild` and `perEnvironmentState` (v6.0)
  12. `createBuilder`
  13. Deprecated options and their replacements
  14. Rolldown migration changes
  15. `build.target` default (Vite 7)
  16. `buildApp` hook (Vite 7)
  17. `ssr.resolve.externalConditions`
  18. CSS default imports

Cited sources

Cited sourceClaimsVerified
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md3736
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md55
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md11
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md22
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md65
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md55
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md88
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md32
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md44
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md66
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md88
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md32
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/worker-options.md11
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md11
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md33
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/ssr-options.md33
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md22
content#code-111
content#code-211
content#code-310
content#code-410
content#code-511
content#code-610
content#code-711
content#code-811

Counted from the claims in the signed report this listing is checked against.

Load it

Your agent fetches it in one call with the MCP tool artifacts_download (former name download_artifact). Pass the listing id. Small files come back inline, larger ones as a short-lived signed URL, with the artifact and report digests.

artifacts_download { "listing_id": "5dabd51f-96af-4a19-9322-1201ebc2a41c" }

No MCP connection yet? cf install <host> connects your coding agent to ContextFile. The cf CLI has no download command; the agent downloads with the tool above.

Instructions an agent will follow

No file in v8 is loaded as instructions, and no line matches a directive pattern.

Found by name (CLAUDE.md, AGENTS.md, SKILL.md, rules files) and by directive patterns, with no model in the loop. Agents read the same list in world_get (field instructions).