|
|
|
|
|
by explaininjs
945 days ago
|
|
Lots of folks outing themselves as never adding comments with remarks like "compression works nearly as well as minification". In some of my more logically involved code, the bulk of the bytes are in comments - and they barely compress at all. Just minify. Nobody cares about your source code; if they do and you want them to, publishing on GitHub is far better as it allows for viewing the TS/ESNext version and separate files too (don't tell me you aren't bundling!!); and working with minified code is not hard, especially now that dev tools have built-in maxifiers. |
|
I publish to github too! It's nice to let people download my stuff and tinker though, straight from the website itself :) They can also tinker there and then in the browser.
I'm not trying to convince you either way – it's clear we have a different set of values.