TrySound / rollup-plugin-size-snapshot

Track your library bundles size and its treeshakability with less effort
MIT License
163 stars 14 forks source link

Usage with rollup 1.0 errors out #26

Closed mohsinulhaq closed 5 years ago

mohsinulhaq commented 5 years ago

[!] (size-snapshot plugin) TypeError: Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of undefined at then.then.then.result (rollup-plugin-size-snapshot/dist/treeshakeWithRollup.js:75:25)

pascalduez commented 5 years ago

Reproducible with this repo if needed.

result seem to have this shape now { output: [ { code: '...' } ] }.

TrySound commented 5 years ago

v0.8.0 is published

mohsinulhaq commented 5 years ago

awesome 👍