99 of 106 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%3A10d5b95ee40e1d76f3bdd5e28cedaa6bb87cd552468abecbebe5944641c9dabe/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 Matched files in import.meta.glob are lazy-loaded by default via dynamic import. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0002 Matched files in import.meta.glob are split into separate chunks at build time by default. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0003 Options for import.meta.glob go in the second argument. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0004 In import.meta.glob, eager: true imports the modules directly instead of lazily, for example import.meta.glob('./dir/*.js', { eager: true }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0005 In import.meta.glob, the import option imports only a named export. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 0.9 | in_review | |
CLM-0006 In import.meta.glob, { import: 'setup' } produces () => import('./dir/bar.js').then((m) => m.setup). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0007 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.md | 1 | verified | |
CLM-0008 In import.meta.glob, setting import to 'default' imports the default export. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0009 In import.meta.glob, the query option adds a query to each import. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0010 In import.meta.glob, the query option accepts a string such as '?raw' or '?url'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0011 In import.meta.glob, the query option accepts an object for custom queries read by other plugins, such as { query: { foo: 'bar', bar: true } }. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0012 In import.meta.glob, the base option sets a base path for the imports, for example import.meta.glob('./**/*.js', { base: './base' }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0013 In import.meta.glob, the base option 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.md | 1 | verified | |
CLM-0014 In import.meta.glob, aliases and virtual modules are not supported for the base option. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0015 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.md | 1 | verified | |
CLM-0016 In import.meta.glob, resulting module keys are made relative to the base when using the base option. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0017 All arguments to import.meta.glob must be passed as literals. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0018 Variables and expressions are not allowed as arguments to import.meta.glob. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0019 The features guide documents query: '?raw' with import: 'default', and eager: true, as separate examples. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0020 The features guide does not show the exact combined call of import.meta.glob with query: '?raw', import: 'default', and eager: true. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0021 The sources document query (for example query: '?raw'), which is the option to use for ?raw and ?url imports in import.meta.glob. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0022 The Vite 8.1 announcement says import.meta.glob gained a caseSensitive option. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md | 1 | verified | |
CLM-0023 In import.meta.glob, matching is case-sensitive by default. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0024 In import.meta.glob, with caseSensitive: false, './dir/module*.js' also matches Module.js and MODULE.js. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0025 In import.meta.glob, the caseSensitive option can be used as const modules = import.meta.glob('./dir/module*.js', { caseSensitive: false }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md | 1 | verified | |
CLM-0026 A WebAssembly source phase import gives you the compiled WebAssembly.Module, not an instance. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0027 With a WebAssembly source phase import, instantiation is left entirely to you. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0028 A WebAssembly source phase import can be used via import source mod from './example.wasm', followed by const instance = await WebAssembly.instantiate(mod) and instance.exports.test(). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0029 Because you own the WebAssembly.Instance with a source phase import, you can pass your own import object to WebAssembly.instantiate and instantiate as many times as needed. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0030 The dynamic form of a WebAssembly source phase import resolves to the WebAssembly.Module via const mod = await import.source('./example.wasm'). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0031 The guide calls WebAssembly source phase imports the standard way to take control over instantiation. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0032 WebAssembly source phase imports will be the recommended alternative to ?init once TypeScript 7.1 is released as stable. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0033 For SSR builds, direct .wasm imports, source phase imports and .wasm?init rely on the node:fs module. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0034 For SSR builds, direct .wasm imports, source phase imports and .wasm?init work only in Node.js compatible runtimes. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0035 The Vite 8 announcement says .wasm?init imports now work in SSR environments. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8.md | 1 | verified | |
CLM-0036 The Vite 8.1 announcement says Wasm ESM integration is supported. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md | 1 | verified | |
CLM-0037 A .wasm file can be imported directly, such as import { add } from './add.wasm'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md | 1 | verified | |
CLM-0038 A directly imported .wasm file behaves as an async module and requires top-level await support. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0039 If a directly imported .wasm module declares its own imports, each import's module name is treated as an import specifier, resolved relative to the .wasm file. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0040 Directly imported .wasm modules are compiled with the JS String Builtins and Imported String Constants proposals enabled. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0041 For TypeScript support with direct .wasm imports, enable allowArbitraryExtensions in tsconfig.json and add a declaration file named {filename}.d.wasm.ts, for example add.d.wasm.ts. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0042 Vite 8.1 added the html.additionalAssetSources option so asset discovery covers custom HTML elements and attributes. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite8-1.md | 1 | verified | |
CLM-0043 The type of html.additionalAssetSources is Record<string, HtmlAssetSource>. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/shared-options.md | 1 | verified | |
CLM-0044 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.md | 1 | verified | |
CLM-0045 this.environment in plugin hooks was introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0046 The deprecation of options.ssr in resolveId, load and transform is planned for a future major. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0047 To find usage of options.ssr in plugin hooks, set future.removePluginHookSsrArgument to "warn". | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0048 A quick migration from const isSSR = options.ssr is const isSSR = this.environment.config.consumer === 'server'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0049 For a more robust migration from options.ssr, use fine-grained environment options instead of the environment name. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 1 | verified | |
CLM-0050 Per-environment hooks expose this.environment. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0051 buildStart and buildEnd are called only for the client environment during dev unless the plugin sets perEnvironmentStartEndDuringDev: true. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0052 The hotUpdate hook was introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0053 The deprecation of handleHotUpdate is planned for a future major. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0054 The docs do not recommend moving away from handleHotUpdate yet. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0055 To opt into warnings for handleHotUpdate, set future.removePluginHookHandleHotUpdate to "warn". | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0056 hotUpdate is called once per environment. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0057 hotUpdate receives HotUpdateOptions, whose modules property is Array<EnvironmentModuleNode> for the current environment only. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0058 hotUpdate is also called for create and delete watch events, and type: 'create' | 'update' | 'delete' can be used to tell them apart. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0059 When migrating to hotUpdate for filtering modules, rename handleHotUpdate({ modules }) to hotUpdate({ modules }). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0060 When migrating to hotUpdate for invalidating modules, use this.environment.moduleGraph.invalidateModule(mod, invalidatedModules, timestamp, true). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0061 When migrating to hotUpdate for sending messages, replace server.ws.send(...) with this.environment.hot.send({ type: 'full-reload' }) or a { type: 'custom', event, data } message. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/hotupdate-hook.md | 1 | verified | |
CLM-0062 The Environment instance was introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/this-environment-in-hooks.md | 0.9 | in_review | |
CLM-0063 Removal of the ViteDevServer methods replaced by per-environment APIs is planned for a future major. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 0.2 | cut | |
CLM-0064 To find usage of the ViteDevServer methods being replaced by per-environment APIs, set removeServerModuleGraph, removeServerReloadModule, removeServerPluginContainer, removeServerHot, removeServerTransformRequest, and removeServerWarmupRequest to 'warn' under future. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/per-environment-apis.md | 1 | verified | |
CLM-0065 The per-environment API replacements for ViteDevServer methods 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-0066 builder.sharedConfigBuild was first introduced in v6.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0067 Setting builder.sharedConfigBuild to true shares plugins across environments during build. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-plugins.md | 1 | verified | |
CLM-0068 The default for builder.sharedConfigBuild may change in a future major. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0069 When plugins are shared across environments, plugin state must be keyed by the current environment, and Vite exports a perEnvironmentState helper for this. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0070 The perEnvironmentState helper can be used as const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 })) and accessed in hooks via state(this).count++. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/changes/shared-plugins-during-build.md | 1 | verified | |
CLM-0071 createBuilder is the build-time equivalent of createServer and returns a ViteBuilder. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0072 createBuilder can be imported from 'vite' and used via const builder = await createBuilder() and await builder.buildApp(). | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0073 builder.buildApp() builds every configured environment, while builder.build(environment) builds a single one. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0074 builder.buildApp() is the programmatic equivalent of vite build --app. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0075 The build function still works for the legacy client-only and ssr-only builds but cannot build arbitrary environments. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0076 After an environment is built, environment.manifest is populated regardless of build.manifest. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/api-environment-frameworks.md | 1 | verified | |
CLM-0077 The esbuild option is deprecated and its replacement is oxc. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0078 build.rollupOptions is deprecated and its replacement is build.rolldownOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0079 worker.rollupOptions is deprecated and its replacement is worker.rolldownOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/worker-options.md | 1 | verified | |
CLM-0080 optimizeDeps.esbuildOptions is deprecated and its replacement is optimizeDeps.rolldownOptions. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/dep-optimization-options.md | 1 | verified | |
CLM-0081 resolve.alias[].customResolver is deprecated and its replacement is a custom plugin with a resolveId hook and enforce: 'pre'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0082 build.commonjsOptions and build.dynamicImportVarsOptions.warnOnError are deprecated and are now no-ops. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0083 The sources give no version for the deprecations of esbuild, build.rollupOptions, worker.rollupOptions, optimizeDeps.esbuildOptions, resolve.alias[].customResolver, build.commonjsOptions, and build.dynamicImportVarsOptions.warnOnError. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 0.2 | cut | |
CLM-0084 With Rolldown, build() now throws a BundleError (Error & { errors?: RolldownError[] }), and individual errors can be read from e.errors. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0085 Rolldown sets a module type from the resolved id's extension, so if a load or transform hook converts other content to JavaScript, moduleType: 'js' should be added to the returned object. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0086 With Rolldown migration, passing a URL to import.meta.hot.accept is no longer supported; pass an id instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0087 With Rolldown migration, assigning to bundle[foo] is not supported; use this.emitFile() instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0088 With Rolldown migration, structuredClone(bundle) errors; use structuredClone({ ...bundle }) instead. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/migration.md | 1 | verified | |
CLM-0089 In Vite 7.0, the build.target default changed from 'modules' to 'baseline-widely-available'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0090 In Vite 7.0, the minimum browsers for build.target moved as follows: Chrome 87 -> 107, Edge 88 -> 107, Firefox 78 -> 104, Safari 14.0 -> 16.0. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0091 On this docs version, the value of baseline-widely-available for build.target is ['chrome111', 'edge111', 'firefox114', 'safari16.4', 'ios16.4']. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/build-options.md | 1 | verified | |
CLM-0092 Vite 7 added a buildApp hook so plugins can coordinate building of environments. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite7.md | 1 | verified | |
CLM-0093 The type of ssr.resolve.externalConditions is string[] and its default is ['node', 'module-sync']. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/ssr-options.md | 1 | verified | |
CLM-0094 ssr.resolve.externalConditions applies to externalized direct dependencies during SSR import, including ssrLoadModule. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/ssr-options.md | 1 | verified | |
CLM-0095 When using ssr.resolve.externalConditions, run Node with the same --conditions values in dev and after build; for ['node', 'custom'], use NODE_OPTIONS='--conditions custom' vite in dev and NODE_OPTIONS="--conditions custom" node ./dist/server.js after build. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/config/ssr-options.md | 1 | verified | |
CLM-0096 Since Vite 5, default and named imports from CSS files (import style from './foo.css') are removed. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/guide/features.md | 1 | verified | |
CLM-0097 Instead of default imports from CSS files, use the ?inline query: import stuff from './global.css?inline'. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md | 1 | verified | |
CLM-0098 The default export from CSS files was deprecated in Vite 4. | https://github.com/vitejs/vite/blob/760a953fd4b4d1dd58b2652d5962af50a7510d5c/docs/blog/announcing-vite4.md | 1 | verified | |
CODE-0001 Code example 1 (ts):
const modules = import.meta.glob('./dir/*.svg', {
query: '?raw',
import: 'default',
eager: true,
}) | content#code-1 | 1 | verified | |
CODE-0002 Code example 2 (ts):
const modules = import.meta.glob('./dir/module*.js', { caseSensitive: false }) | content#code-2 | 1 | verified | |
CODE-0003 Code example 3 (js):
import source mod from './example.wasm'
const instance = await WebAssembly.instantiate(mod)
instance.exports.test() | content#code-3 | 0 | cut | |
CODE-0004 Code example 4 (js):
import source mod from './example.wasm'
const instance = await WebAssembly.instantiate(mod, {
'./imports.js': {
someFunc: () => {
/* ... */
},
},
}) | content#code-4 | 0 | cut | |
CODE-0005 Code example 5 (ts):
interface HtmlAssetSource {
srcAttributes?: string[]
srcsetAttributes?: string[]
filter?: (data: {
key: string
value: string
attributes: Record<string, string>
}) => boolean
} | content#code-5 | 1 | verified | |
CODE-0006 Code example 6 (ts):
const isSSR = options.ssr // [!code --]
const isSSR = this.environment.config.consumer === 'server' // [!code ++] | content#code-6 | 0 | cut | |
CODE-0007 Code example 7 (ts):
const state = perEnvironmentState<{ count: number }>(() => ({ count: 0 }))
// in hooks: state(this).count++ | content#code-7 | 1 | verified | |
CODE-0008 Code example 8 (js):
import { createBuilder } from 'vite'
const builder = await createBuilder()
await builder.buildApp() | content#code-8 | 1 | verified |