I was surprised by the bundle size while playing with kPaste.
If it's relevant to you, turns out syntax highlighting is taking a lot of space:
65% of a ~440 KB gzipped vendor.js
that's huge for a feature (probably?) used a very few times.
I removed that code feature
but otherwise, footprint can be fairly reduced by loading only the most commonly used languages (in lib/CodeHighlight.jsx):
I was surprised by the bundle size while playing with kPaste.
If it's relevant to you, turns out syntax highlighting is taking a lot of space:
65% of a ~440 KB gzipped vendor.js that's huge for a feature (probably?) used a very few times.
I removed that code feature but otherwise, footprint can be fairly reduced by loading only the most commonly used languages (in lib/CodeHighlight.jsx):
=> 22% of a ~195 KB gzipped vendor.js