We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc2d02 commit ae42bd7Copy full SHA for ae42bd7
packages/rollup-plugin/README.md
@@ -53,6 +53,7 @@ yarn add --dev rollup-plugin-bundle-stats
53
54
## Configure
55
56
+### Rollup
57
```js
58
// rollup.config.js
59
const { bundleStats } = require('rollup-plugin-bundle-stats');
@@ -62,7 +63,20 @@ module.exports = {
62
63
plugins: [
64
bundleStats()
65
]
-}
66
+};
67
+```
68
+
69
+### Vite
70
+```js
71
+// vite.config.js
72
+const { bundleStats } = require('rollup-plugin-bundle-stats');
73
74
+module.exports = {
75
+ ...,
76
+ plugins: [
77
+ bundleStats()
78
+ ]
79
80
```
81
82
### Options
0 commit comments