News for hackers. Stuff that matters.
Re:Substack is (not) now powered by Ghost by coldtea on Monday December 12, 2022 @01:23PM (#33958167)
Quite hard. Isn't the whole point of the minification to remove non functional parts to make the size smaller?
Re:Substack is (not) now powered by Ghost by zerocrates on Monday December 12, 2022 @01:28PM (#33958235)
Not really hard... for one there's a convention of putting an exclamation point at the start of comments that should survive the minification/compilation process, for this very purpose.
Re:Substack is (not) now powered by Ghost by bambax on Monday December 12, 2022 @01:43PM (#33958457)
Not hard at all. A couple of comments won't make any difference. Here's the minified version of one of react components for example:

https://unpkg.com/[email protected]/umd/react.production.min.js