chore: log runtime build file size

This commit is contained in:
Evan You 2021-04-07 12:24:35 -04:00
parent e2fc84c773
commit 69fafb437a

View File

@ -169,6 +169,7 @@ function checkAllSizes(targets) {
function checkSize(target) { function checkSize(target) {
const pkgDir = path.resolve(`packages/${target}`) const pkgDir = path.resolve(`packages/${target}`)
checkFileSize(`${pkgDir}/dist/${target}.global.prod.js`) checkFileSize(`${pkgDir}/dist/${target}.global.prod.js`)
checkFileSize(`${pkgDir}/dist/${target}.runtime.global.prod.js`)
} }
function checkFileSize(filePath) { function checkFileSize(filePath) {