SVGO plugin which adds 'viewBox' attribute based on 'width' and 'height' attributes
SVGO plugin that reduces viewBox to minimum possible size so no wasted transparent space around svg
Library for dealing with SVG viewboxes as plain arrays
Add viewBox attribute to your SVGs and then optimize them with SVGO
<svg class="logo" viewBox="0 0 128 128" width="24" height="24" data-v-c0161dce=""><path fill="#42b883" d="M78.8,10L64,35.4L49.2,10H0l64,110l64-110C128,10,78.8,10,78.8,10z" data-v-c0161dce=""></path><path fill="#35495e" d="M78.8,10L64,35.4L49.2,10H25.6L64,