Skip to content

Commit 1460477

Browse files
authored
Add rollup-plugin-analyzer (#8690)
1 parent d79b5a3 commit 1460477

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"moment": "^2.29.1",
8383
"pixelmatch": "^5.2.1",
8484
"rollup": "^2.41.4",
85+
"rollup-plugin-analyzer": "^4.0.0",
8586
"rollup-plugin-cleanup": "^3.2.1",
8687
"rollup-plugin-dts": "^3.0.1",
8788
"rollup-plugin-istanbul": "^3.0.0",

rollup.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const analyze = require('rollup-plugin-analyzer');
12
const cleanup = require('rollup-plugin-cleanup');
23
const dts = require('rollup-plugin-dts').default;
34
const json = require('@rollup/plugin-json');
@@ -34,6 +35,7 @@ module.exports = [
3435
cleanup({
3536
sourcemap: true
3637
}),
38+
analyze({summaryOnly: true})
3739
],
3840
output: {
3941
name: 'Chart',

0 commit comments

Comments
 (0)