You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm. I guess we could remove them from the bundle to make package installation faster.
It's easy to do with microbundle (just need to add --sourcemap false to CLI command).
@omgovich Right, should we also turn the minification off? It's a small detail, but could result in better DX: I often read sources straight from the node_modules folder.
I would keep the minification enabled because I like to control the bundle size.
Microbundle/rollup converts my code a lot (and I love how) during the minification and I keep this rules in mind during the features development.
Some another bundler could do it another way.
I was surprised to see that the unpacked size of the package is 443 kB. Turns out it has minified sources with source maps, that weight ~16kb each:
I wonder if the distribution should contain minified sources at all. Thoughts?
The text was updated successfully, but these errors were encountered: