TrySound / rollup-plugin-size-snapshot

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

Provide ability to update snapshot #33

Closed kylemh closed 5 years ago

kylemh commented 5 years ago

Currently, if there's a desired size mis-match, I'm required to:

This feels like it can be improved.

TrySound commented 5 years ago

I usually set matchSnapshot to true only in ci

kylemh commented 5 years ago

Ah I see. That makes more sense. Perhaps some tiny documentation reflecting that then? The naming of the variable indicated to me that it should always be true.

TrySound commented 5 years ago

Do you want to send a PR with clarification?