File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ Vite DevTools is a comprehensive set of developer tools for visualizing and anal
2525
2626If you want to give an early preview, you can try it out by building this project from source, or install the preview build with the following steps:
2727
28- Install or upgrade your Vite to the beta version 8 :
28+ Install or upgrade your Vite to the beta version 13+ :
2929
3030<!-- eslint-skip -->
3131``` json [package.json]
3232{
3333 "dependencies" : {
34- "vite" : " ^8.0.0-beta.7 "
34+ "vite" : " ^8.0.0-beta.13 "
3535 }
3636}
3737```
@@ -42,21 +42,15 @@ Install the DevTools plugin:
4242pnpm add -D @vitejs/devtools
4343```
4444
45- Enable the DevTools plugin in your Vite config and turn on the devtools mode for Rolldown :
45+ Enable the DevTools in your Vite config:
4646
4747``` ts [vite.config.ts] twoslash
48- import { DevTools } from ' @vitejs/devtools'
4948import { defineConfig } from ' vite'
5049
5150export default defineConfig ({
52- plugins: [
53- DevTools (),
54- ],
55- build: {
56- rolldownOptions: {
57- devtools: {}, // enable devtools mode
58- },
59- }
51+ devtools: {
52+ enabled: true ,
53+ },
6054})
6155```
6256
You can’t perform that action at this time.
0 commit comments