DTK0010: Experimental Static Build
Package:
@vitejs/devtools
Message
Static build is still experimental and not yet complete. Generated output may be missing features and can change without notice.
Cause
This warning is emitted by the build() function in the CLI commands module when you run the DevTools static build command. The static build feature generates a standalone HTML export of the DevTools UI, but it is still under active development.
The warning is logged after the build completes successfully to inform you that the output may be incomplete or change in future releases.
Example
Running the static build via the CLI triggers this warning:
vite devtools build --outDir ./devtools-reportOr programmatically:
import { build } from '@vitejs/devtools/node'
await build({
root: process.cwd(),
outDir: './devtools-report',
base: '/',
})
// DTK0010 warning is logged after build completesFix
No action is required. This is an informational warning acknowledging the experimental status of the static build feature. The generated output is usable but may lack some features present in the live DevTools UI.
If you depend on stable output, consider using the live DevTools server (vite devtools start) instead until the static build is finalized.
Source
packages/core/src/node/cli-commands.ts