Skip to content

Commit 7a848d8

Browse files
committed
feat: init
1 parent bfc5248 commit 7a848d8

21 files changed

+105
-0
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default defineConfig({
3232
text: 'Guide',
3333
items: [
3434
{ text: 'Getting Started', link: '/guide/' },
35+
{ text: 'Features', link: '/guide/features/' },
3536
],
3637
},
3738
{

docs/guide/features.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
outline: deep
3+
---
4+
5+
# Features
6+
7+
Discover all the features Vite Devtools offers.
8+
9+
## Overview
10+
11+
Shows a quick overview of your app's build analysis, including the build entries, build duration, build directory, number of modules, plugins and more.
12+
13+
![overview](/features/overview.png)
14+
15+
## Modules
16+
17+
Display all files in the bundle in list, detailed list, graph, and folder tree views.
18+
19+
Supports file type filtering and fuzzy search for finding modules.
20+
21+
![modules](/features/modules.png)
22+
23+
Module transformation flow (Parse -> Resolve -> Transform -> Chunk -> Bundle -> Output).
24+
25+
Track the entire process, find bottlenecks and optimizations.
26+
27+
![module-build-flow](/features/module-build-flow.png)
28+
29+
Module Relationship Graph:
30+
31+
![module-relationship-graph](/features/module-graph.png)
32+
33+
Bundled files in folder tree view:
34+
35+
![module-tree](/features/module-tree.png)
36+
37+
In the graph view, the path selector allows you to trace dependencies between 2 modules.
38+
39+
![module-path-selector](/features/module-path-selector.png)
40+
41+
## Plugins
42+
43+
Display all plugins, both official and third-party. Supports plugin type filtering and fuzzy search for finding plugins.
44+
45+
![plugins](/features/plugins.png)
46+
47+
In the plugin details view, see hook costs (Resolve Id, Load, Transform) and processed modules in Build Flow or Sunburst views.
48+
49+
![plugin-details](/features/plugin-details.png)
50+
51+
## Chunks
52+
53+
Display all chunks in your build output in list, detailed list, and graph views.
54+
Supports fuzzy search for finding chunks.
55+
56+
![chunks](/features/chunks.png)
57+
58+
In the graph view, the path selector allows you to trace references between 2 chunks.
59+
60+
![chunk-path-selector](/features/chunk-path-selector.png)
61+
62+
Click a chunk to see details including filename, size, all included modules and more.
63+
64+
![chunk-details](/features/chunk-details.png)
65+
66+
## Assets
67+
68+
Display all static assets in your build output in list, folder tree, treemap, sunburst, and flamegraph views. Supports fuzzy search for finding assets.
69+
70+
![assets](/features/assets.png)
71+
72+
Asset Treemap View:
73+
74+
![asset-treemap](/features/asset-treemap.png)
75+
76+
Asset Suburst View:
77+
78+
![asset-sunburst](/features/asset-sunburst.png)
79+
80+
Click an asset to view details including name, size, related chunks, and asset relationships.
81+
82+
![asset-details](/features/asset-details.png)
83+
84+
## Packages
85+
86+
Display all npm dependencies in your bundle in table and treemap views, and detect duplicated packages, including both direct and transitive dependencies.
87+
88+
Supports dependency type filtering (direct/transitive) and fuzzy search for finding packages.
89+
90+
![packages](/features/packages.png)
91+
92+
Packages Size Graph View:
93+
94+
![package-treemap](/features/package-treemap.png)
95+
96+
Click a package to see details including name, size, bundled files and more.
97+
98+
![package-details](/features/package-details.png)
99+
100+
## Session Compare
101+
102+
Compare and analyze the bundle changes, including bundle size, initial js size, number of modules, plugins, chunks, assets.
103+
104+
![session-compare](/features/session-compare.png)
729 KB
Loading
1.04 MB
Loading
735 KB
Loading

docs/public/features/assets.png

854 KB
Loading
1.02 MB
Loading
610 KB
Loading

docs/public/features/chunks.png

869 KB
Loading
1000 KB
Loading

0 commit comments

Comments
 (0)