Vite 8.1
Last reviewed Sep 23, 2026
Prompt Details
Prompt Composition
4prompts
- JavaScript ES2026102 lines · 3.1K tokens
- Node.js 24101 lines · 5.3K tokens
- TypeScript 746 lines · 1.5K tokens
- Vite 8.185 lines · 4K tokens
Total334 lines · 13.9K tokens
CWE Coverage
- 15
- 20
- 22
- 59
- 73
- 78
- 79
- 88
- 89
- 95
- 113
- 117
- 200
- 201
- 208
- 209
- 214
- 250
- 295
- 297
- 306
- 319
- 323
- 330
- 338
- 340
- 346
- 347
- 352
- 354
- 362
- 367
- 377
- 426
- 444
- 459
- 471
- 488
- 494
- 502
- 524
- 532
- 538
- 552
- 602
- 653
- 732
- 770
- 807
- 829
- 838
- 862
- 863
- 908
- 915
- 916
- 918
- 922
- 942
- 943
- 1004
- 1321
- 1333
- 1385
Prompt Preview
Apply the Node.js 24 and TypeScript 7 prompts first. Use these rules for Vite 8.1, including its Rolldown/Oxc pipeline, development and preview servers, WebSocket transport, console forwarding, and SSR integrations; they were checked against 8.1.5.
Supported patch and trusted configuration
- Keep the Node.js 24 runtime current through the Node.js prompt's release rule. Vite 8.1.5 declares
^20.19.0 || >=22.12.0compatibility; that range does not establish ongoing Node.js support. Check Vite's security-backport policy for whether the 8.1 line still receives security patches. - Read the security advisories the Vite and launch-editor GitHub repositories publish, and act on one that lists your Vite release even when
npm auditis clean.npm auditonly flags a release once its advisory reaches the GitHub Advisory Database, which can lag the repository by days, and Vite bundles launch-editor inside its own package, so launch-editor advisories reach you only through the Vite ranges they list. - Treat
vite.config.*, its imports, plugins, PostCSS configuration, and preprocessors as privileged executable code. Changing--configLoaderbetweenbundle,runner, andnativedoes not sandbox configuration; explicitly restart after imported config dependencies change when usingnative. - Reject request data, tenant values, untrusted pull-request variables, and user paths anywhere they could select
--config,--mode, plugins, module IDs, glob roots,definevalues, network destinations, or build locations. - Inspect the fully resolved configuration for development,