Get started
Verification report · signed

126 of 133 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:0aa55083ba0d03eb73327b9617b3f2997fd88e14e2620944864f706fdd6de1b4
Signing key idpem-9ec90d53d901e315
Judgegoogle/gemini-4-argon · v0-dev
Judge prompt hashsha256:1e64388843ffb61194ac8007b4992da06d5edd7ac2671ec35b1e82d8c2a9d04d
AI Source of Truthnot on the registry
Pipelinecore-6
Mean entailment0.971
Signed2026-11-22
Versionv7
Artifact digestsha256:615dcc005ff340a3462283bfe3df2c53f1cc8f56705a7a025560782c90b85866
Source commitsha256:f1dc7df09c0b92916af0ddafc63b95ffa7f74d659d08674f32aa2194da833a95
Verified at2026-11-22T23:36:35.034Z
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
  • 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
  • Every symbol a code claim names was looked up in the API surface extracted from the locked sources
  • 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%3A0aa55083ba0d03eb73327b9617b3f2997fd88e14e2620944864f706fdd6de1b4/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
Matched files in import.meta.glob are lazy-loaded by default.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0002
Each matched file in import.meta.glob becomes a dynamic import and a separate chunk in the build.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md0.9in_review
CLM-0003
Setting eager: true as the second argument in import.meta.glob imports the modules directly instead of lazily.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0004
The import option in import.meta.glob imports a named export only, such as { import: 'setup' }.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0005
When the import option is combined with eager in import.meta.glob, tree-shaking is enabled for those modules.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0006
Setting import: 'default' in import.meta.glob imports the default export.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0007
The query option in import.meta.glob adds a query to each import.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0008
The query option in import.meta.glob takes a string such as '?raw' or '?url', or an object such as { foo: 'bar', bar: true } for other plugins to consume.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0009
The base option in import.meta.glob sets a base path for the imports.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0010
The base option in import.meta.glob can only be a directory path relative to the importer file, or absolute against the project root.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0011
Aliases and virtual modules aren't supported in the base option of import.meta.glob.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0012
Only globs that are relative paths are interpreted as relative to the resolved base in import.meta.glob.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0013
All resulting module keys are made relative to the base when using the base option in import.meta.glob.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0014
All arguments to import.meta.glob must be passed as literals, and variables and expressions cannot be used.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0015
Calling import.meta.glob('./**/*.js', { base: './base' }) produces keys like './dir/foo.js' that map to () => import('./base/dir/foo.js').
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0016
Glob patterns in import.meta.glob must be relative ('./'), absolute ('/', resolved against the project root), or an alias path.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0017
The first argument to import.meta.glob may be an array of globs.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0018
Negative patterns in import.meta.glob are prefixed with !, such as ['./dir/*.js', '!**/bar.js'].
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0019
The features guide documents query: '?raw' with import: 'default' (lazy), and import combined with eager.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0020
The Vite 5.1 announcement is dated February 8, 2024.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/assets.md0cut
CLM-0021
The Vite 5.1 announcement lists "Deprecated as option in import.meta.glob" under its Deprecations section.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md1verified
CLM-0022
The features guide shows using query (e.g. query: '?raw', query: '?url') for raw strings and URLs.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0023
Vite 8.1 added the caseSensitive option to import.meta.glob.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0024
Matching in import.meta.glob is case-sensitive by default.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0025
With caseSensitive: false in import.meta.glob, module*.js matches Module.js, module.js and MODULE.js.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0026
With caseSensitive: false, the syntax is import.meta.glob('./dir/module*.js', { caseSensitive: false }).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0027
In Vite 8.1, .wasm files can be imported directly with import { add } from './add.wasm'.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0028
In Vite 8.1, html.additionalAssetSources has type Record<string, HtmlAssetSource> and adds HTML elements and attributes treated as asset sources.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md0.8in_review
CLM-0029
The HtmlAssetSource interface 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.md1verified
CLM-0030
In Vite 8.1, Lightning CSS gained support for external CSS files imported in CSS files, and for plugins registering file dependencies.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0031
Users can opt in to Lightning CSS with css.transformer: 'lightningcss' (default 'postcss', experimental).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0032
The Vite 8.1 announcement says a default change to Lightning CSS is being considered for the next major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md1verified
CLM-0033
In Vite 8, esbuild is now an optional dependency.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0034
In Vite 8, plugins that call transformWithEsbuild need esbuild as a devDependency.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0035
In Vite 8, transformWithEsbuild is deprecated and transformWithOxc should be used instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0036
In Vite 8, Oxc Minifier replaces esbuild for minification.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0037
In Vite 8, build.minify: 'esbuild' is deprecated.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0038
In Vite 8, esbuild.minify* options become build.rolldownOptions.output.minify.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0039
In Vite 8, esbuild.drop becomes build.rolldownOptions.output.minify.compress.drop*.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0040
In Vite 8, mangleProps, reserveProps, mangleQuoted and mangleCache are not supported by Oxc.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0041
In Vite 8, build.rollupOptions was renamed to build.rolldownOptions.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0042
In Vite 8, worker.rollupOptions was renamed to worker.rolldownOptions.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0043
In Vite 8, esbuild option was renamed to oxc.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md0.9in_review
CLM-0044
In Vite 8, optimizeDeps.esbuildOptions was renamed to optimizeDeps.rolldownOptions.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md0.6cut
CLM-0045
In Vite 8, build.commonjsOptions and build.dynamicImportVarsOptions.warnOnError are now no-ops.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0046
In Vite 8, to replace resolve.alias[].customResolver, use a plugin with a resolveId hook and enforce: 'pre'.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0047
In Vite 8, build.rollupOptions.watch.chokidar is removed and build.rolldownOptions.watch.watcher should be used.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0048
In Vite 8, the object form of output.manualChunks is removed, the function form is deprecated, and codeSplitting should be used.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0049
In Vite 8, import.meta.url is no longer polyfilled in UMD / IIFE output and is replaced with undefined by default.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0050
In Vite 8, to restore the old import.meta.url behavior in UMD / IIFE output, use define together with build.rolldownOptions.output.intro.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0051
In Vite 8, build() throws BundleError with the type Error & { errors?: RolldownError[] }, and individual errors are read from e.errors.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0052
In Vite 8, if load or transform hooks convert other module types to JavaScript, they should return moduleType: 'js', e.g. return { code: `export default ${JSON.stringify(content)}`, moduleType: 'js' }.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0053
In Vite 8, passing a URL to import.meta.hot.accept is removed and an id should be passed instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0054
In Vite 8, parseAst and parseAstAsync are deprecated in favor of parseSync and parse.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0055
In Vite 8, assigning bundle[foo] in generateBundle or writeBundle is unsupported; use this.emitFile() instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0056
In Vite 8, structuredClone(bundle) in generateBundle or writeBundle errors; use structuredClone({ ...bundle }) instead.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0057
In Vite 8, output.format: 'system' and 'amd' are unsupported by Rolldown.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0058
In Vite 8, the shouldTransformCachedModule, resolveImportMeta, renderDynamicImport and resolveFileUrl hooks are unsupported by Rolldown.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0059
vite exports esmExternalRequirePlugin which can be configured as esmExternalRequirePlugin({ external: ['react', 'vue', /^node:/] }).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md1verified
CLM-0060
The Vite 4 announcement deprecated the .css default export because it could double-load CSS.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md1verified
CLM-0061
The features guide says default and named imports from CSS files are removed since Vite 5, and ?inline should be used instead (e.g. import stuff from './global.css?inline').
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md1verified
CLM-0062
As of Vite 5.1, pre-bundling of dependencies during build has been removed.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0063
To disable the optimizer completely, use optimizeDeps.noDiscovery: true and leave optimizeDeps.include undefined or empty.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0064
optimizeDeps.holdUntilCrawlEnd is experimental with default true.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md1verified
CLM-0065
Setting optimizeDeps.holdUntilCrawlEnd to false switches to a new deps-optimization strategy for large projects, introduced in Vite 5.1.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md1verified
CLM-0066
css.preprocessorMaxWorkers has type number | true, where true means up to CPUs minus 1, and 0 runs preprocessors on the main thread.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0067
css.preprocessorMaxWorkers was introduced as opt-in in Vite 5.1.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md1verified
CLM-0068
fs.cachedChecks is enabled by default as of Vite 5.1.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md1verified
CLM-0069
this.environment was introduced in v6.0.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0070
The deprecation of the options.ssr hook argument is planned for a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0071
To find usage of options.ssr, set future.removePluginHookSsrArgument to "warn".
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0072
In resolveId, load and transform hooks, options.ssr can be replaced with this.environment.config.consumer === 'server'.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md1verified
CLM-0073
The environment exposes environment.config, environment.moduleGraph and environment.transformRequest().
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-instances.md1verified
CLM-0074
hotUpdate was introduced in v6.0, and the deprecation of handleHotUpdate is planned for a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0075
The documentation does not recommend moving from handleHotUpdate to hotUpdate yet.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0076
To experiment with removing handleHotUpdate, set future.removePluginHookHandleHotUpdate to "warn".
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0077
hotUpdate is called per environment, and modules holds EnvironmentModuleNodes of the current environment only.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0078
hotUpdate is also called for create and delete watch events, distinguished by type.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0079
hotUpdate receives HotUpdateOptions { type: 'create' | 'update' | 'delete'; file; timestamp; modules; read; server }.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0080
When migrating to hotUpdate, server.moduleGraph.invalidateModule(...) becomes this.environment.moduleGraph.invalidateModule(mod, invalidatedModules, timestamp, true).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0081
When migrating to hotUpdate, server.ws.send(...) becomes this.environment.hot.send(...).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md1verified
CLM-0082
The Environment instance was introduced in v6.0, and the deprecation of the server methods is planned for a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0083
To identify usage of deprecated server methods, set the future keys removeServerModuleGraph, removeServerReloadModule, removeServerPluginContainer, removeServerHot, removeServerTransformRequest, and removeServerWarmupRequest to 'warn'.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0084
In per-environment API migration, server.moduleGraph becomes environment.moduleGraph.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0085
In per-environment API migration, server.reloadModule(module) becomes environment.reloadModule(module).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0086
In per-environment API migration, server.pluginContainer becomes environment.pluginContainer.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0087
In per-environment API migration, server.transformRequest(url, ssr) becomes environment.transformRequest(url).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0088
In per-environment API migration, server.warmupRequest(url, ssr) becomes environment.warmupRequest(url).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0089
In per-environment API migration, server.hot becomes server.client.environment.hot.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md1verified
CLM-0090
builder.sharedConfigBuild was introduced in v6.0, can be set to true to test plugins against a shared config, and its default may change in a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md1verified
CLM-0091
When plugins are shared, plugin state must be keyed by environment, and Vite exports a perEnvironmentState helper.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md1verified
CLM-0092
perEnvironmentState can be used with perEnvironmentStartEndDuringDev: true, buildStart, transform, and buildEnd hooks accessing state(this).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md1verified
CLM-0093
buildStart and buildEnd are only called for the client environment unless perEnvironmentStartEndDuringDev: true is set.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md1verified
CLM-0094
The future option has type Record<string, 'warn' | undefined>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0095
The changes page groups "Planned for the next major" as: this.environment in hooks, the hotUpdate hook, and SSR using the ModuleRunner API.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md1verified
CLM-0096
The changes page groups "Considering" as: per-environment APIs and shared plugins during build.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md1verified
CLM-0097
Hook filters (transform: { filter: { id }, handler }) are supported by Rollup 4.38.0+ and Vite 6.3.0+.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0098
For backward compatibility with hook filters, also run the filter inside the handler.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0099
@rolldown/pluginutils exports exactRegex and prefixRegex, which are re-exported from rolldown/filter.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0100
preprocessCSS is experimental and has signature async function preprocessCSS(code: string, filename: string, config: ResolvedConfig): Promise<PreprocessCSSResult>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0101
interface PreprocessCSSResult has properties code: string, map?: SourceMapInput, modules?: Record<string, string>, and deps?: Set<string>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0102
In preprocessCSS, the preprocessor is inferred from the filename extension, a .module.{ext} filename also returns modules, and URLs in url() and image-set() are not resolved.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0103
loadConfigFromFile has the signature async function loadConfigFromFile(configEnv: ConfigEnv, configFile?: string, configRoot: string = process.cwd(), logLevel?: LogLevel, customLogger?: Logger): Promise<{ path: string; config: UserConfig; dependencies: string[] } | null>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0104
build has the signature async function build(inlineConfig?: InlineConfig): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0105
preview has the signature async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0106
transformWithEsbuild is deprecated, should be replaced with transformWithOxc, and has the signature async function transformWithEsbuild(code: string, filename: string, options?: EsbuildTransformOptions, inMap?: object): Promise<ESBuildTransformResult>.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md1verified
CLM-0107
build.license has type boolean | { fileName?: string }, with default false.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0108
Setting build.license to true generates .vite/license.md, fileName is relative to outDir, and a name ending in .json produces raw JSON metadata.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0109
build.chunkImportMap is experimental, and when enabled, chunk imports use a unique ID per chunk.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0110
When build.chunkImportMap is enabled, the import map is emitted to the bundle and readable in generateBundle or writeBundle, and its file name is set by build.rolldownOptions.experimental.chunkImportMap.fileName (default importmap.json).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md1verified
CLM-0111
vite --config my-config.js loads an explicit config file, resolved relative to cwd.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/index.md1verified
CLM-0112
--configLoader native loads the config with the runtime's native loader instead of bundling it with Rolldown, suits Node 22.18+ or plain JavaScript configs, and is planned to become the default in a future major.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/index.md1verified
CLM-0113
--force forces dep re-bundling, can be used after changing a linked dep in a monorepo, and alternatively node_modules/.vite can be deleted.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md1verified
CLM-0114
vite build --watch enables the Rolldown watcher, and config changes need a restart.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/build.md1verified
CLM-0115
--clearScreen false stops Vite clearing the terminal.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md1verified
CLM-0116
A linked dep that isn't exported as ESM should be added to optimizeDeps.include.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md1verified
CLM-0117
Default build.target is 'baseline-widely-available', which is ['chrome111', 'edge111', 'firefox114', 'safari16.4', 'ios16.4'] (fixed to 2026-01-01 for this major).
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0118
build.rolldownOptions.input overrides the top-level input for build only, and the top-level input option is recommended because it also applies in dev.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0119
When preserveEntrySignatures is unset, Vite uses false for client builds, 'strict' for library builds and 'allow-extension' for SSR builds.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CLM-0120
build.lib.cssFileName names the CSS output file for library builds.
https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md1verified
CODE-0001
Code example 1 (ts): const modulesWithBase = import.meta.glob('./**/*.js', { base: './base' }) // keys: './dir/foo.js' -> () => import('./base/dir/foo.js')
content#code-11verified
CODE-0002
Code example 2 (ts): const modules = import.meta.glob('./dir/*.svg', { query: '?raw', import: 'default', eager: true, })
content#code-21verified
CODE-0003
Code example 3 (ts): const modules = import.meta.glob('./dir/module*.js', { caseSensitive: false })
content#code-31verified
CODE-0004
Code example 4 (ts): interface HtmlAssetSource { srcAttributes?: string[] srcsetAttributes?: string[] filter?: (data: { key: string; value: string; attributes: Record<string, string> }) => boolean }
content#code-41verified
CODE-0005
Code example 5 (js): return { code: `export default ${JSON.stringify(content)}`, moduleType: 'js' }
content#code-51verified
CODE-0006
Code example 6 (js): import { defineConfig, esmExternalRequirePlugin } from 'vite' export default defineConfig({ plugins: [esmExternalRequirePlugin({ external: ['react', 'vue', /^node:/] })], })
content#code-61verified
CODE-0007
Code example 7 (ts): import stuff from './global.css?inline'
content#code-71verified
CODE-0008
Code example 8 (ts): const isSSR = this.environment.config.consumer === 'server' // replaces options.ssr
content#code-80cut
CODE-0009
Code example 9 (ts): const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 })) return { name: 'count-transformed-modules', perEnvironmentStartEndDuringDev: true, buildStart() { state(this).count = 0 }, transform(id) { state(this).count++ }, buildEnd() { console.log(this.environment.name, state(this).count) }, }
content#code-91verified
CODE-0010
Code example 10 (ts): async function preprocessCSS(code: string, filename: string, config: ResolvedConfig): Promise<PreprocessCSSResult> interface PreprocessCSSResult { code: string; map?: SourceMapInput; modules?: Record<string, string>; deps?: Set<string> }
content#code-101verified
CODE-0011
Code example 11 (ts): async function loadConfigFromFile( configEnv: ConfigEnv, configFile?: string, configRoot: string = process.cwd(), logLevel?: LogLevel, customLogger?: Logger, ): Promise<{ path: string; config: UserConfig; dependencies: string[] } | null>
content#code-110cut
CODE-0012
Code example 12 (ts): async function build(inlineConfig?: InlineConfig): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher> async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer>
content#code-121verified
CODE-0013
Code example 13 (ts): async function transformWithEsbuild(code: string, filename: string, options?: EsbuildTransformOptions, inMap?: object): Promise<ESBuildTransformResult>
content#code-131verified