HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by dtzur | Hacker News Reader
Parent
Full thread
dtzur
·
Webpack can do that for you via dead code removal
View on HN
abritinthebay
·
Uglify has been doing it for years too - just do a quick env var string substitution and it’s trivial, Webpack or not.
Reply on news.ycombinator.com