Hacker News new | ask | show | jobs
by fulafel 2022 days ago
The gains from the advanced optimizations mode under discussion there are nice and the setup is known to be a little finicky wrt dependencies. But it's opt in and rarely necessary.
1 comments

Unless you want to ship a 5MB browser bundle for a 'hello world', advanced compilation is not necessary, is obligatory.
It's like 200 kB gzipped for hello world with simple optimizations.

When you use webpack, you can use that ecosystem of space optimizers too.