mirror of https://github.com/vuejs/core.git
chore: log runtime build file size
This commit is contained in:
parent
e2fc84c773
commit
69fafb437a
|
@ -169,6 +169,7 @@ function checkAllSizes(targets) {
|
|||
function checkSize(target) {
|
||||
const pkgDir = path.resolve(`packages/${target}`)
|
||||
checkFileSize(`${pkgDir}/dist/${target}.global.prod.js`)
|
||||
checkFileSize(`${pkgDir}/dist/${target}.runtime.global.prod.js`)
|
||||
}
|
||||
|
||||
function checkFileSize(filePath) {
|
||||
|
|
Loading…
Reference in New Issue