feat(rollup): add bundle size

This commit is contained in:
moklick
2019-07-15 19:09:09 +02:00
parent 8b0e013abc
commit 52241d2be8
5 changed files with 155 additions and 34490 deletions
+2 -1
View File
@@ -24,6 +24,7 @@
"react-dom": "^16.8.6",
"rollup": "^1.16.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-livereload": "^1.0.1",
"rollup-plugin-node-resolve": "^5.1.0",
@@ -41,7 +42,7 @@
},
"husky": {
"hooks": {
"pre-push": "npm run build"
"pre-commit": "npm run build"
}
},
"files": [