|
| 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 | + |
| 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 | + |
| 22 | + |
| 23 | +Module transformation flow (Parse -> Resolve -> Transform -> Chunk -> Bundle -> Output). |
| 24 | + |
| 25 | +Track the entire process, find bottlenecks and optimizations. |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | +Module Relationship Graph: |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +Bundled files in folder tree view: |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +In the graph view, the path selector allows you to trace dependencies between 2 modules. |
| 38 | + |
| 39 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 57 | + |
| 58 | +In the graph view, the path selector allows you to trace references between 2 chunks. |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | +Click a chunk to see details including filename, size, all included modules and more. |
| 63 | + |
| 64 | + |
| 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 | + |
| 71 | + |
| 72 | +Asset Treemap View: |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | +Asset Suburst View: |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | +Click an asset to view details including name, size, related chunks, and asset relationships. |
| 81 | + |
| 82 | + |
| 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 | + |
| 91 | + |
| 92 | +Packages Size Graph View: |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | +Click a package to see details including name, size, bundled files and more. |
| 97 | + |
| 98 | + |
| 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 | + |
0 commit comments