Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dtzur
· 9y ago · 0 comments
Webpack can do that for you via dead code removal
Comments
[–]
abritinthebay
9y ago
Uglify has been doing it for years too - just do a quick env var string substitution and it’s trivial, Webpack or not.