Get started
Verification report · signed

80 of 107 claims verified at floor 0.95.

Every claim below was scored against the source it cites. Check the signature offline with the key at /.well-known/report-keys, or re-run any claim with the pinned judge.

The report

Digestsha256:56518770ad2411ed5752b4af87a98a62b4663c658ec34b301c802a85bfbf9c57
Signing key idpem-9ec90d53d901e315
Judgegoogle/gemini-4-argon · v0-dev
Judge prompt hashsha256:1e64388843ffb61194ac8007b4992da06d5edd7ac2671ec35b1e82d8c2a9d04d
AI Source of Truthnot on the registry
Pipelinecore-4
Mean entailment0.756
Signed2026-11-21
Versionv5
Artifact digestsha256:105d1c537ffe925d5890ad99c38356e9a15e7d4d7b329a35c3a0ff433460b3ce
Source commitsha256:f1dc7df09c0b92916af0ddafc63b95ffa7f74d659d08674f32aa2194da833a95
Verified at2026-11-21T16:33:36.304Z
Cited byno other product cites this version yet

Agents: fetch the same report with artifacts_get view report (its freshness carries the version, digest, source commit and verified time, and its citation says whether it met its floor), compare versions with view versions, and re-check a claim with claims_verify (no token needed; see the MCP reference).

What this report checked

  • Sources were locked and hashed before any claim was scored
  • The text was split into atomic factual claims
  • Each claim was scored against the source it cites by the pinned judge
  • Each claim was bound to verified, in review or cut at the floor
  • Every symbol a code claim names was looked up in the API surface extracted from the locked sources
  • TypeScript and JavaScript snippets were type-checked in a sandbox with a time limit
  • The generated text was scanned for hidden text and injected instructions before the run completed
  • Each source's license (SPDX id), origin URL and upstream commit or retrieval date were recorded
  • The changes between the versions in the locked sources (changelog, API diff, deprecations) were computed without a model and given to the generate stage
  • The generated text was checked for generic overview sections, and any found are named in the report

Checks not run

  • Claims were re-verified after the style pass
  • Python snippets were parsed at the pinned language version in a sandbox with a time limit
  • Code examples whose checks passed were run in a container with no network, a read-only file system, no added privileges and memory, process and time limits
  • Only the sections that mention a changed symbol or cite a changed source were regenerated and re-verified; the others kept their claims and results
  • The kept sections' symbols and code were checked again against the new release's sources, without a model

What this report does not cover

  • Whether the cited sources are themselves true
  • Factual statements the decomposition step did not extract as claims
  • Safety or security of code, commands or instructions in the artifact
  • Licensing or ownership of the artifact content
  • Code examples were type-checked or parsed, never run
  • What a code example does when run, beyond its names existing and its syntax and types checking clean
Judge versionv0-dev
Scannerscontextfile.quarantine rules-f0c8bf48a7db

Verify it yourself

This report is also an in-toto attestation in a Sigstore bundle, signed with the report key. Check it with cosign and the published key; you need no ContextFile code. Full steps: /docs/verify.

Key idpem-9ec90d53d901e315
Rekornot logged (only reports on the registry are logged; cosign needs --insecure-ignore-tlog=true)
curl -sSo attestation.sigstore.json 'https://contextfile.ai/reports/sha256%3A56518770ad2411ed5752b4af87a98a62b4663c658ec34b301c802a85bfbf9c57/attestation.sigstore.json'
curl -sS 'https://contextfile.ai/.well-known/report-keys' | jq -r '.keys[] | select(.key_id == "pem-9ec90d53d901e315") | .pem' > report-key.pem
cosign verify-blob-attestation \
  --new-bundle-format --bundle attestation.sigstore.json \
  --key report-key.pem \
  --type https://contextfile.ai/verification-report/v1 \
  --insecure-ignore-tlog=true \
  ./artifact-file

Replace ./artifact-file with the file you bought; cosign checks that its SHA-256 is the statement subject. To read the scope block from the bundle:

jq -r .dsseEnvelope.payload attestation.sigstore.json | base64 -d | jq .predicate.body.scope

Claims

ClaimSourceScoreStateRe-check
CLM-0001
By default, files matched by `import.meta.glob` are lazy-loaded via dynamic import and split into separate chunks at build.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0002
In `import.meta.glob`, `eager: true` imports all matched modules directly via static imports, for example when relying on their side effects being applied first.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0003
In `import.meta.glob`, the `import` option imports only one export; for example, `{ import: 'setup' }` generates `import('./dir/bar.js').then((m) => m.setup)`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0004
In `import.meta.glob`, `import: 'default'` selects the default export.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0005
In `import.meta.glob`, combining `eager: true` with `import` generates `import { setup as __vite_glob_0_0 } from './dir/bar.js'`, which enables tree-shaking.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0006
In `import.meta.glob`, `query` appends a query to each import, such as `{ query: '?raw', import: 'default' }` or `{ query: '?url', import: 'default' }`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0007
In `import.meta.glob`, `{ query: { foo: 'bar', bar: true } }` passes custom queries for other plugins to consume.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0008
In `import.meta.glob`, `base` sets a base path for the imports, such as `import.meta.glob('./**/*.js', { base: './base' })`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0009
In `import.meta.glob`, `base` can only be a directory path relative to the importer or absolute against the project root, and aliases and virtual modules are not supported.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0010
In `import.meta.glob`, only globs that are relative paths are interpreted relative to the resolved `base`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0011
In `import.meta.glob` with `base`, the resulting module keys become relative to the base.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0012
In `import.meta.glob`, `caseSensitive: false` matches files case-insensitively, while matching is case-sensitive by default.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0013
The `caseSensitive` option in `import.meta.glob` was added in Vite 8.1.
none0cut
CLM-0014
The first argument to `import.meta.glob` can be an array of globs, and a `!` prefix excludes files (e.g. `['./dir/*.js', '!**/bar.js']`).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0015
All arguments to `import.meta.glob` must be passed as literals; variables and expressions are not allowed.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0016
Patterns in `import.meta.glob` must start with `./`, start with `/` (resolved from the project root), or be an alias path.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0017
Matching in `import.meta.glob` uses `tinyglobby`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0018
Vite 3 rewrote `import.meta.glob` and added multiple patterns, negative patterns, `import`, `query`, and `eager` as an option flag.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite3.md1verified
CLM-0019
The Vite 5.1 announcement lists "Deprecated `as` option in `import.meta.glob`" under Deprecations and does not state the replacement.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md0cut
CLM-0020
In Vite 8.1, Wasm ESM integration (`import { add } from './add.wasm'`) works.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0021
In Vite 8.1, `html.additionalAssetSources` registers extra HTML elements and attributes as asset sources.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0022
`html.additionalAssetSources` has type `Record<string, HtmlAssetSource>`, where `HtmlAssetSource` has optional properties `srcAttributes?: string[]`, `srcsetAttributes?: string[]`, and `filter?: (data: { key: string; value: string; attributes: Record<string, string> }) => boolean`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md0cut
CLM-0023
In Vite 8.1, Lightning CSS supports external CSS files imported in CSS files and plugin-registered file dependencies.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0024
You can opt in to Lightning CSS with `css.transformer: 'lightningcss'`, and the team is thinking of making it the default in the next major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0025
For WASM in SSR builds, direct `.wasm` imports, source phase imports, and `.wasm?init` rely on `node:fs` and work only in Node.js-compatible runtimes.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0026
Vite 8 requires Node.js 20.19+ or 22.12+.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md1verified
CLM-0027
Vite 8 includes a compatibility layer that auto-converts `esbuild` and `rollupOptions` config to Rolldown and Oxc equivalents.
none0cut
CLM-0028
In Vite 8, `build()` throws a `BundleError`, typed `Error & { errors?: RolldownError[] }`, and you can iterate `e.errors` to get the individual errors.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md0cut
CLM-0029
In Vite 8, plugin `load`/`transform` hooks that convert other module types to JS may need `moduleType: 'js'` in the returned object because Rolldown auto-sets the module type from the resolved id's extension.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0030
In Vite 8, `build.rollupOptions` is deprecated and renamed to `build.rolldownOptions`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0031
In Vite 8, `worker.rollupOptions` is deprecated and renamed to `worker.rolldownOptions`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0032
In Vite 8, `build.commonjsOptions` is deprecated and is now a no-op.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0033
In Vite 8, `build.dynamicImportVarsOptions.warnOnError` is deprecated and is now a no-op.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0034
In Vite 8, `resolve.alias[].customResolver` is deprecated; use a plugin with a `resolveId` hook and `enforce: 'pre'` instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0035
In Vite 8, `parseAst` and `parseAstAsync` are deprecated in favor of `parseSync` and `parse`.
none0cut
CLM-0036
`esbuild` is deprecated and converted to `oxc` internally, and `oxc` should be used instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0037
`optimizeDeps.esbuildOptions` is deprecated and converted to `optimizeDeps.rolldownOptions`, which should be used instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0038
`build.rollupOptions` is deprecated and is an alias of `build.rolldownOptions`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0039
In Vite 8, passing a URL to `import.meta.hot.accept` has been removed; pass an id instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0040
In Vite 8, extglobs are not supported yet.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0041
In Vite 8, `define` does not share object references, and each variable gets its own copy.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0042
In Vite 8, assigning to `bundle[foo]` is unsupported; `this.emitFile()` should be used instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0043
In Vite 8, `structuredClone(bundle)` errors, and `structuredClone({ ...bundle })` should be used instead.
none0cut
CLM-0044
In Vite 8, the `bundle` reference is not shared across hooks.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0045
In Vite 8, all parallel hooks run sequentially.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md0.9in_review
CLM-0046
In Vite 8, `build.rollupOptions.output.format: 'system'` and `'amd'` are unsupported.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0047
In Vite 8, the `shouldTransformCachedModule`, `resolveImportMeta`, `renderDynamicImport`, and `resolveFileUrl` hooks are unsupported.
none0cut
CLM-0048
In Vite 8, passing the same browser with multiple versions to `build.target` errors.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0049
In Vite 8, transforming to ES5 and below with plugin-legacy is unsupported.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0050
Vite 8 ships a `devtools` option, such as `defineConfig({ devtools: { apply: 'serve' } })`.
none0cut
CLM-0051
Plugin `config` hooks cannot change the `devtools` option.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0052
`future` has type `Record<string, 'warn' | undefined>` and opts into upcoming breaking changes.
none0cut
CLM-0053
The changes index lists upcoming breaking changes under Planned and Considering, with none yet in Past.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md1verified
CLM-0054
`this.environment` was introduced in `v6.0`, deprecation of `options.ssr` is planned for a future major, and `future.removePluginHookSsrArgument: "warn"` can be set to find usages.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0055
For quick migration in `resolveId`, `load`, and `transform`, replace `options.ssr` with `this.environment.config.consumer === 'server'`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0056
The environment exposes `environment.config`, `environment.moduleGraph`, and `environment.transformRequest()`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0057
`hotUpdate` was introduced in `v6.0`, deprecation of `handleHotUpdate` is planned for a future major, moving away from it is not yet recommended, and you can opt in with `future.removePluginHookHandleHotUpdate: "warn"`.
none0cut
CLM-0058
`hotUpdate` is called once per environment, `modules` holds `EnvironmentModuleNode` entries for that environment only, and it also fires for `create` and `delete` events via `type`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-instances.md0cut
CLM-0059
`HotUpdateOptions` has properties `type: 'create' | 'update' | 'delete'`, `file: string`, `timestamp: number`, `modules: Array<EnvironmentModuleNode>`, `read: () => string | Promise<string>`, and `server: ViteDevServer`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0060
The migration step for `server.moduleGraph.invalidateModule(...)` in `hotUpdate` is to use `this.environment.moduleGraph.invalidateModule(mod, invalidatedModules, timestamp, true)`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-instances.md0cut
CLM-0061
The migration step for `server.ws.send(...)` in `hotUpdate` is to use `this.environment.hot.send(...)`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-runtimes.md0cut
CLM-0062
Per-environment APIs are listed under "Considering" in the changes index.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md1verified
CLM-0063
The `Environment` instance was introduced at `v6.0`, and the deprecation of the corresponding server methods is planned for a future major.
none0cut
CLM-0064
The per-environment API replacements map `server.moduleGraph` to `environment.moduleGraph`, `server.reloadModule(module)` to `environment.reloadModule(module)`, `server.pluginContainer` to `environment.pluginContainer`, `server.transformRequest(url, ssr)` to `environment.transformRequest(url)`, `server.warmupRequest(url, ssr)` to `environment.warmupRequest(url)`, and `server.hot` to `server.client.environment.hot`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0065
To find usages of the old server methods, `removeServerModuleGraph`, `removeServerReloadModule`, `removeServerPluginContainer`, `removeServerHot`, `removeServerTransformRequest`, and `removeServerWarmupRequest` can be set to `'warn'` under `future`.
none0cut
CLM-0066
Shared plugins during build are listed under "Considering" in the changes index.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md1verified
CLM-0067
`builder.sharedConfigBuild` was introduced in `v6.0`, and setting it to `true` allows testing shared plugins since the default may change in a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md1verified
CLM-0068
`perEnvironmentState` is a helper exported by Vite used as `const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 }))` and accessed in hooks via `state(this).count++`.
none0cut
CLM-0069
Plugin state shared across environments must be keyed by the current environment.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md1verified
CLM-0070
Without `perEnvironmentStartEndDuringDev: true`, `buildStart` and `buildEnd` are only called for the client environment during dev.
none0cut
CLM-0071
`this.environment.addSafeModule(id)` can be called during dev to allow a resolved module ID to be loaded outside `server.fs.allow`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md1verified
CLM-0072
For filesystem modules, `this.environment.addSafeModule(id)` expects a normalized absolute path (using Vite's `normalizePath`), optionally with a query.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md1verified
CLM-0073
`this.environment.addSafeModule(id)` registers the full ID and the path with query and hash removed, while other query variants must be registered separately.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md1verified
CLM-0074
References that import analysis cannot discover should be registered with `addSafeModule` in the same `transform` hook.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md1verified
CLM-0075
`this.emitFile({ type: 'asset', ... })` returns a `referenceId`.
none0cut
CLM-0076
In JS, emitted assets are referenced using the expression `import.meta.ROLLDOWN_FILE_URL_<referenceId>`, and a query or hash can be appended by string concatenation.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0077
In CSS or HTML, emitted assets are referenced using the token `__VITE_ASSET__<referenceId>__`, with any query or hash directly after it.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0078
Output chunks expose `viteMetadata?.importedCss` and `viteMetadata?.importedAssets` in `generateBundle`.
none0cut
CLM-0079
The signature of `build` is `async function build(inlineConfig?: InlineConfig): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher>`, and the signature of `preview` is `async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer>`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0080
`previewServer.printUrls()` and `previewServer.bindCLIShortcuts({ print: true })` are shown in the `preview` example.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0081
`waitForRequestsIdle` is an escape hatch, and with the default HTTP1 server, using it in a `load` or `transform` hook blocks one of the six HTTP channels.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0082
`optimizeDeps.holdUntilCrawlEnd: false` switches to a different deps-optimization strategy.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0083
`optimizeDeps.holdUntilCrawlEnd` was added in Vite 5.1.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md1verified
CLM-0084
The config function receives `{ command, mode, isSsrBuild, isPreview }`, and because `isSsrBuild` and `isPreview` may be `undefined` in some tools, they should be compared explicitly to `true` or `false`.
none0cut
CLM-0085
`vite build --watch` enables the Rolldown watcher, and `build.watch` adjusts the underlying `WatcherOptions`.
none0cut
CLM-0086
`--force` on the dev server re-bundles deps, which is also needed after changing a linked dep, and the cache lives in `node_modules/.vite`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md1verified
CLM-0087
The pre-bundle cache is invalidated by lockfile content (including `bun.lock`, `aube-lock.yaml`, and `nub.lock`), patches folder modification time, relevant `vite.config.js` fields, and `NODE_ENV`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md1verified
CLM-0088
`build.license: true | { fileName?: string }` writes `.vite/license.md`, and a `fileName` ending in `.json` emits raw JSON metadata.
none0cut
CLM-0089
`build.lib.cssFileName` sets the CSS output name, and `fileName` can be `(format, entryName) => string`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md0cut
CLM-0090
Top-level `input` is recommended over `build.rolldownOptions.input`, and if both are set, `build.rolldownOptions.input` overrides it for build only.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0091
`css.preprocessorMaxWorkers: number | true` defaults to `true` (meaning CPUs minus 1), and `0` runs preprocessors on the main thread.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0092
`server.sourcemapIgnoreList` is called with an absolute `sourcePath`, while the Rolldown equivalent receives a relative path.
none0cut
CLM-0093
`optimizeDeps.include` accepts trailing globs such as `'my-lib/components/**/*.vue'` (experimental).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0094
`optimizeDeps.noDiscovery: true` optimizes only what is in `optimizeDeps.include`, and CJS-only deps must be listed there during dev.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0095
`resolve.tsconfigPaths` does not apply inside `.less` files (use a relative path or `resolve.alias` instead), and non-JS files (e.g. CSS) must be listed in the tsconfig `files` or given an explicit extension in `include`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0096
`tsconfig` accepts a path relative to `root`, and setting it is discouraged because it overrides per-file discovery.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0097
In Vite 4, the `.css` default export is deprecated in favor of `import x from './global.css?inline'`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md1verified
CLM-0098
In Vite 5, default and named imports from CSS files have been removed, and `?inline` should be used instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0099
In Vite 4, `dotenv` 16 and `dotenv-expand` 9 are used, so values containing `#` or `` ` `` must be quoted, e.g. `VITE_APP="ab#cd`ef"`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md1verified
CLM-0100
In Vite 4, modern builds target `safari14` by default.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md1verified
CLM-0101
In Vite 3, ESM is the default format for SSR builds.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite3.md1verified
CLM-0102
In Vite 3, the WASM import API became `import init from './example.wasm?init'`.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite3.md1verified
CODE-0001
Code example 1 (ts): interface HtmlAssetSource { srcAttributes?: string[] srcsetAttributes?: string[] filter?: (data: { key: string value: string attributes: Record<string, string> }) => boolean }
content#code-11verified
CODE-0002
Code example 2 (ts): export default defineConfig({ devtools: { apply: 'serve' } })
content#code-21verified
CODE-0003
Code example 3 (ts): interface HotUpdateOptions { type: 'create' | 'update' | 'delete' file: string timestamp: number modules: Array<EnvironmentModuleNode> read: () => string | Promise<string> server: ViteDevServer }
content#code-31verified
CODE-0004
Code example 4 (ts): const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 })) // in hooks: state(this).count++
content#code-41verified
CODE-0005
Code example 5 (ts): async function build( inlineConfig?: InlineConfig, ): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher> async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer>
content#code-50cut