|
2 | 2 |
|
3 | 3 | Bundle analyzer and visualizer tool for vite. |
4 | 4 |
|
5 | | -Current features: |
6 | | - |
7 | | -- Chunk size treemap |
8 | | -- Module import graph |
9 | | -- Build stats report |
10 | | -- Detect duplicated dependencies |
| 5 | +- ✅ Supports both applications and libraries |
| 6 | +- ✅ Supports `vite`, `rollup`, `rolldown` and `tsdown` |
| 7 | +- ✅ Chunk treemap |
| 8 | +- ✅ Module import graph |
| 9 | +- ✅ Detect duplicated dependencies |
11 | 10 |
|
12 | 11 |  |
13 | 12 |
|
@@ -63,9 +62,10 @@ export default defineConfig({ |
63 | 62 | }); |
64 | 63 | ``` |
65 | 64 |
|
66 | | -| Parameter | Type | Default | Description | |
67 | | -|------------------------|-----------|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------| |
68 | | -| `reportCompressedSize` | `boolean` | Same as Vite's [build.reportCompressedSize](https://vite.dev/config/build-options.html#build-reportcompressedsize) | Calculate compressed size of chunks. Might affect performance. | |
69 | | -| `reportDirectoryName` | `string` | `"bundle-report"` | Name of the output directory | |
70 | | -| `emitHtml` | `boolean` | `true` | Generate interactive HTML report | |
71 | | -| `emitJson` | `boolean` | `false` | Generate `stats.json` file | |
| 65 | +| Parameter | Type | Default | Description | |
| 66 | +|------------------------|-----------|-------------------|------------------------------------------------------------------------------------------------------------| |
| 67 | +| `enabled` | `boolean` | `true` | Disables stats collection and report generation. This option is disabled automatically for `vite dev` mode | |
| 68 | +| `reportCompressedSize` | `boolean` | `true` | Calculate compressed size of chunks. Might affect performance. | |
| 69 | +| `reportDirectoryName` | `string` | `"bundle-report"` | Name of the output directory | |
| 70 | +| `emitHtml` | `boolean` | `true` | Generate interactive HTML report | |
| 71 | +| `emitJson` | `boolean` | `false` | Generate `stats.json` file | |
0 commit comments