109 of 114 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
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
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.
curl -sSo attestation.sigstore.json 'https://contextfile.ai/reports/sha256%3A710411b424b4bc9435fa77acc371b85b1b35775eabbed4cdf1ede29acaa0b835/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
| Claim | Source | Score | State | Re-check |
|---|---|---|---|---|
CLM-0001 Vite 7 changed the default of build.target from 'modules' to 'baseline-widely-available'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0002 In Vite 7, the default target for Chrome changed from 87 to 107. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0003 In Vite 7, the default target for Edge changed from 88 to 107. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0004 In Vite 7, the default target for Firefox changed from 78 to 104. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0005 In Vite 7, the default target for Safari changed from 14.0 to 16.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0006 Vite 8 raises the build.target and 'baseline-widely-available' defaults again. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 0.95 | verified | |
CLM-0007 In Vite 8, the default target for Chrome changed from 107 to 111. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0008 In Vite 8, the default target for Edge changed from 107 to 111. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0009 In Vite 8, the default target for Firefox changed from 104 to 114. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0010 In Vite 8, the default target for Safari changed from 16.0 to 16.4. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0011 The Vite 8 default browser versions match Baseline Widely Available as of 2026-01-01. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0012 Even with a lower build.target, Vite still requires Chrome >=64, Firefox >=67, Safari >=11.1, and Edge >=79. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/build.md | 1 | verified | |
CLM-0013 In Vite 8, build.rollupOptions is deprecated as an alias of build.rolldownOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 0.9 | in_review | |
CLM-0014 build.rolldownOptions is merged with Vite's internal Rolldown options. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0015 Vite overrides the default of preserveEntrySignatures to false for regular client builds when it is unset. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0016 Vite overrides the default of preserveEntrySignatures to 'strict' for library builds when it is unset. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0017 Vite overrides the default of preserveEntrySignatures to 'allow-extension' for SSR builds when it is unset. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0018 The top-level input option is preferred over build.rolldownOptions.input because it is also used in dev. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0019 If build.rolldownOptions.input is set, it overrides input for build only. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0020 The dependency optimizer is configured with optimizeDeps.rolldownOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md | 1 | verified | |
CLM-0021 esbuildVersion and rollupVersion are kept only for backward compatibility. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md | 1 | verified | |
CLM-0022 Vite 8 includes a compatibility layer that auto-converts existing esbuild and rollupOptions config to the Rolldown and Oxc equivalents. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md | 1 | verified | |
CLM-0023 In Vite 8, JSX options live under oxc, such as oxc: { jsx: { importSource: 'preact' } }. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0024 oxc.jsxInject is a Vite-only option. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0025 Vite 8 requires Node.js 20.19+ or 22.12+, which is the same requirement as Vite 7. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md | 1 | verified | |
CLM-0026 In Vite 8, import.meta.hot.accept no longer accepts a URL and requires an id instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0027 In Vite 8, parseAst and parseAstAsync are deprecated in favor of parseSync and parse. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0028 In Vite 8, the bundle object passed to generateBundle and writeBundle and returned by build changed. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0029 In Vite 8, assigning bundle[foo] is unsupported and this.emitFile() should be used instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0030 In Vite 8, structuredClone(bundle) throws DataCloneError, and structuredClone({ ...bundle }) should be used instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0031 In Vite 8, the bundle reference is not shared across hooks. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0032 Rolldown and Vite 8 do not support build.rollupOptions.output.format: 'system'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0033 Rolldown and Vite 8 do not support build.rollupOptions.output.format: 'amd'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0034 Rolldown and Vite 8 do not support the shouldTransformCachedModule, resolveImportMeta, renderDynamicImport, and resolveFileUrl hooks. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0035 In Vite 8, all Rollup parallel hooks run as sequential hooks. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0036 In Vite 8, comments are removed before renderChunk rather than after. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0037 In Vite 8, define no longer shares object references and each variable gets its own copy. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0038 Extglobs are not supported yet in Vite 8. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0039 In Vite 8, passing the same browser with multiple versions to build.target throws an error. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0040 In Vite 8, transforming to ES5 and below with plugin-legacy is unsupported. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0041 In Vite 8, "use strict"; is sometimes not injected. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0042 To move from rolldown-vite to Vite 8, change "vite": "npm:rolldown-vite@7.2.2" to "vite": "^8.0.0" in package.json. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0043 When moving from rolldown-vite to Vite 8, only the sections marked NRV in the migration guide apply. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0044 In Vite 8, lightningcss is a normal dependency and no longer an optional peer dependency. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md | 1 | verified | |
CLM-0045 Vite 7 removed the deprecated Sass legacy API support and splitVendorChunkPlugin. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0046 Vite 7 added the buildApp hook, which lets plugins coordinate the building of environments. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0047 optimizeDeps.disabled is deprecated. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md | 1 | verified | |
CLM-0048 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.md | 1 | verified | |
CLM-0049 To disable the dependency optimizer entirely, set optimizeDeps.noDiscovery: true and leave optimizeDeps.include undefined or empty. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md | 1 | verified | |
CLM-0050 optimizeDeps.holdUntilCrawlEnd defaults to true and can be disabled when the scanner plus include find all dependencies. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md | 1 | verified | |
CLM-0051 The dependency pre-bundle cache lives in node_modules/.vite. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md | 1 | verified | |
CLM-0052 Dependency pre-bundle cache invalidation considers the lockfile (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, aube-lock.yaml, or nub.lock). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md | 1 | verified | |
CLM-0053 Dependency pre-bundle cache invalidation considers the patches folder modification time, relevant vite.config.js fields, and the NODE_ENV value. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md | 1 | verified | |
CLM-0054 To force a pre-bundle rebuild, start the dev server with --force or delete node_modules/.vite. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/dep-pre-bundling.md | 1 | verified | |
CLM-0055 The type of the future option is Record<string, 'warn' | undefined>. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0056 The list of keys in the future option may be updated, added, or removed at any time. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0057 this.environment in hooks was introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0058 options.ssr in resolveId, load, and transform is planned for deprecation in a future major. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0059 To find usages of options.ssr in hooks, set future.removePluginHookSsrArgument to "warn". | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0060 A quick migration for options.ssr is replacing it with this.environment.config.consumer === 'server'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0061 For long-term migration off options.ssr, multiple environments should be handled with fine-grained environment options rather than the environment name. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0062 this.environment exposes environment.config, environment.moduleGraph, and environment.transformRequest(). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0063 Global hooks like config resolution and server hooks run once, while per-environment hooks (including all Rolldown hooks) run once per environment. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0064 buildStart and buildEnd only run for the client environment unless the plugin sets perEnvironmentStartEndDuringDev: true. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0065 hotUpdate was introduced in v6.0 to replace handleHotUpdate. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0066 Deprecation of handleHotUpdate is planned for a future major, and migrating is not yet recommended. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0067 To test handleHotUpdate deprecation, set future.removePluginHookHandleHotUpdate to "warn". | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0068 hotUpdate is called per environment and receives HotUpdateOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0069 The HotUpdateOptions interface 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.md | 1 | verified | |
CLM-0070 In HotUpdateOptions, modules contains only the current environment's nodes, and type distinguishes create, update, and delete events. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0071 When migrating to hotUpdate, server.moduleGraph.invalidateModule(...) is replaced by this.environment.moduleGraph.invalidateModule(mod, invalidatedModules, timestamp, true). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0072 When migrating to hotUpdate, server.ws.send({ type: 'full-reload' }) is replaced by this.environment.hot.send({ type: 'full-reload' }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0073 When migrating to hotUpdate, custom events are sent with this.environment.hot.send({ type: 'custom', event: 'special-update', data: {} }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0074 In hotUpdate, returning the filtered modules array filters modules, and returning [] takes over HMR entirely. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0075 Per-environment APIs replacing server.* were introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 1 | verified | |
CLM-0076 Deprecation of the server.* methods is planned for a future major, and moving off them is not yet recommended. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 1 | verified | |
CLM-0077 To find usages of deprecated server.* methods, set removeServerModuleGraph, removeServerReloadModule, removeServerPluginContainer, removeServerHot, removeServerTransformRequest, and removeServerWarmupRequest in future to 'warn'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 1 | verified | |
CLM-0078 The per-environment replacements for server.* are: server.moduleGraph -> environment.moduleGraph, server.reloadModule(module) -> environment.reloadModule(module), server.pluginContainer -> environment.pluginContainer, server.transformRequest(url, ssr) -> environment.transformRequest(url), server.warmupRequest(url, ssr) -> environment.warmupRequest(url), and server.hot -> server.client.environment.hot. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 1 | verified | |
CLM-0079 Environments are reachable through server.environments, such as server.environments.client and server.environments.ssr.moduleGraph. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-instances.md | 1 | verified | |
CLM-0080 server.moduleGraph still returns a backward-compatible mixed client/ssr view. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment.md | 1 | verified | |
CLM-0081 builder.sharedConfigBuild was introduced in v6.0, can be set to true to test plugins with 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.md | 1 | verified | |
CLM-0082 When using shared config builds, plugin state must be keyed by the current environment using the perEnvironmentState helper exported by Vite. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 0.5 | cut | |
CLM-0083 perEnvironmentState is called with an initializer function (e.g., perEnvironmentState<{ count: number }>(() => ({ count: 0 }))) and accessed in hooks via state(this). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0084 perEnvironmentState can be combined with perEnvironmentStartEndDuringDev: true when a plugin uses buildStart or buildEnd per environment. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0085 Vite 5.1 added the experimental Vite Runtime API. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md | 1 | verified | |
CLM-0086 The Vite Runtime API evolved into the Module Runner API, which was released in Vite 6 as part of the Environment API. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5-1.md | 1 | verified | |
CLM-0087 "SSR Using ModuleRunner API" is listed under planned breaking changes. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/index.md | 1 | verified | |
CLM-0088 RunnableDevEnvironment is guarded by isRunnableDevEnvironment and is the default for the implicit ssr environment and other non-client environments in dev. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0089 build.chunkImportMap is an experimental option that makes generated chunk imports use chunk IDs instead of file paths. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0090 With build.chunkImportMap, the ID to path mapping is emitted to the bundle as an import map that is readable in generateBundle or writeBundle. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0091 With build.chunkImportMap, the import map file name comes from build.rolldownOptions.experimental.chunkImportMap.fileName and defaults to importmap.json. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0092 build.chunkImportMap requires import.meta.resolve support. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0093 Setting build.license: true generates .vite/license.md. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0094 The devtools option requires @vitejs/devtools. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0095 @vitejs/devtools-vite inspects the dev server and @vitejs/devtools-rolldown analyzes builds. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0096 devtools: { apply: 'serve' } limits devtools to one command, and plugin config hooks cannot change devtools. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0097 Setting the tsconfig option overrides Vite's per-file tsconfig discovery, which is discouraged. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0098 Hook filters use the syntax transform: { filter: { id: regex }, handler(code, id) {} } and are supported by Rollup 4.38.0+ and Vite 6.3.0+. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0099 For versions older than Rollup 4.38.0 and Vite 6.3.0, you should also check the filter condition inside the handler. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0100 @rolldown/pluginutils exports exactRegex and prefixRegex, which are also re-exported from rolldown/filter. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-plugin.md | 1 | verified | |
CLM-0101 build.rolldownOptions can be used directly for Rolldown watcher settings, vite build --watch enables the watcher, and build.watch accepts WatcherOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/build.md | 0.67 | cut | |
CLM-0102 The signature for build is async function build(inlineConfig?: InlineConfig): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher>. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md | 1 | verified | |
CLM-0103 The signature for preview is async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer>. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md | 1 | verified | |
CLM-0104 waitForRequestsIdle is an escape hatch that, when used in a load or transform hook on the default HTTP1 server, blocks one of the six HTTP channels. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md | 1 | verified | |
CLM-0105 Vite may switch strategies in a future major by setting optimizeDeps.holdUntilCrawlEnd: false by default. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-javascript.md | 1 | verified | |
CLM-0106 The type of build.lib is { entry?: string | string[] | { [entryAlias: string]: string }, name?: string, formats?: ('es' | 'cjs' | 'umd' | 'iife')[], fileName?: string | ((format: ModuleFormat, entryName: string) => string), cssFileName?: string }. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0107 Vite 5 requires Node.js 18+. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5.md | 1 | verified | |
CLM-0108 In Vite 5, the CJS Node API is deprecated. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5.md | 1 | verified | |
CLM-0109 Vite 5 added server.warmup. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5.md | 1 | verified | |
CLM-0110 In Vite 5, define uses AST replacements instead of regexes. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite5.md | 1 | verified | |
CODE-0001 Code example 1 (ts):
interface HotUpdateOptions {
type: 'create' | 'update' | 'delete'
file: string
timestamp: number
modules: Array<EnvironmentModuleNode>
read: () => string | Promise<string>
server: ViteDevServer
} | content#code-1 | 1 | verified | |
CODE-0002 Code example 2 (ts):
const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 }))
// in hooks: state(this).count++ | content#code-2 | 1 | verified | |
CODE-0003 Code example 3 (ts):
async function build(
inlineConfig?: InlineConfig,
): Promise<RolldownOutput | RolldownOutput[] | RolldownWatcher>
async function preview(inlineConfig?: InlineConfig): Promise<PreviewServer> | content#code-3 | 0 | cut | |
CODE-0004 Code example 4 (ts):
{ entry?: string | string[] | { [entryAlias: string]: string }, name?: string, formats?: ('es' | 'cjs' | 'umd' | 'iife')[], fileName?: string | ((format: ModuleFormat, entryName: string) => string), cssFileName?: string } | content#code-4 | 0 | cut |