Skip to content

Commit d60513c

Browse files
author
Guillaume Chau
committed
chore: add rollup analyzer
1 parent 1f4d581 commit d60513c

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

build/rollup.config.base.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import vue from 'rollup-plugin-vue'
44
import cjs from 'rollup-plugin-commonjs'
55
import replace from 'rollup-plugin-replace'
66
import postcss from 'rollup-plugin-postcss'
7+
import analyze from 'rollup-plugin-analyzer'
78

89
const config = require('../package.json')
910

@@ -26,6 +27,7 @@ export default {
2627
VERSION: JSON.stringify(config.version),
2728
}),
2829
postcss(),
30+
analyze(),
2931
],
3032
watch: {
3133
include: 'src/**',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"jest-serializer-vue": "^2.0.2",
5454
"jest-vue": "^0.8.2",
5555
"rollup": "^1.10.0",
56+
"rollup-plugin-analyzer": "^3.0.0",
5657
"rollup-plugin-babel": "^4.3.2",
5758
"rollup-plugin-commonjs": "^9.3.4",
5859
"rollup-plugin-css-only": "^1.0.0",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9892,6 +9892,11 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
98929892
hash-base "^3.0.0"
98939893
inherits "^2.0.1"
98949894

9895+
rollup-plugin-analyzer@^3.0.0:
9896+
version "3.0.0"
9897+
resolved "https://registry.yarnpkg.com/rollup-plugin-analyzer/-/rollup-plugin-analyzer-3.0.0.tgz#284f67f213529a34cd1dd306a6f438b96c60321d"
9898+
integrity sha512-xokEBlQEdpN3mAXtJT8plDjdQKBKyfNxT1tyGJCq+xi0da3FNJ8RyLcve0fV1IVZAfBGsv8sXwWO8yNSGR2e7w==
9899+
98959900
rollup-plugin-babel@^4.3.2:
98969901
version "4.3.2"
98979902
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.2.tgz#8c0e1bd7aa9826e90769cf76895007098ffd1413"

0 commit comments

Comments
 (0)