vite-bundle-explorer 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,6 +23,8 @@ Install the package as a development dependency
23
23
 
24
24
  ```shell
25
25
  npm install -D vite-bundle-explorer
26
+ # yarn add -D vite-bundle-explorer
27
+ # pnpm add -D vite-bundle-explorer
26
28
  ```
27
29
 
28
30
  Next, add the `statsPlugin` to your vite config. This plugin will generate a `stats.json` file in your output directory
@@ -30,7 +32,7 @@ on successful build, containing all bundle stats.
30
32
 
31
33
  ```javascript
32
34
  import { defineConfig } from 'vite';
33
- import { statsPlugin } from 'vite-bundle-analyzer/plugin';
35
+ import { statsPlugin } from 'vite-bundle-explorer/plugin';
34
36
 
35
37
  export default defineConfig({
36
38
  plugins: [
@@ -43,5 +45,5 @@ export default defineConfig({
43
45
  Once your build is complete and `stats.json` is generated, you can launch the web interface using the CLI utility:
44
46
 
45
47
  ```shell
46
- npx vite-bundle-analyzer ./dist/stats.json
48
+ npx vite-bundle-explorer ./dist/stats.json
47
49
  ```