bug: unable to get size of local file
Hotell opened this issue ยท 1 comments
Hotell commented
I wanna check library bundle size:
Libary output:
yarn package-size ./dist/bundles/index.esm.js
๐จ throws error:
ERROR Compiled with errors!
TypeError: Cannot read property 'version' of undefined
at info.versionedName.parsed.map.pkg (/Users/hotell/Projects/devel/github/@hotell/typescript-lib-starter/node_modules/package-size/lib/index.js:243:81)
at Array.map (<anonymous>)
at /Users/hotell/Projects/devel/github/@hotell/typescript-lib-starter/node_modules/package-size/lib/index.js:241:8
at Generator.next (<anonymous>)
at onFulfilled (/Users/hotell/Projects/devel/github/@hotell/typescript-lib-starter/node_modules/co/index.js:65:19)
at <anonymous>
egoist commented
๐ This issue has been resolved in version 2.2.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐