Should my expectation for dead code elimination be...
# javascript
j
Should my expectation for dead code elimination be closer to, "it eliminates virtually all dead code" or "it's better than nothing but it doesn't scale well to large use cases?" I'm creating a project with the OPENRNDR framework as a dependency and the production js ends up at 700KB, which is about 10x what I was expecting.
b
The latter, sadly
It will get better once es6 support lands
j
@Big Chungus thanks. is there a way to figure out were the size is coming from? then I could potentially manually reduce dependencies
b
Not really. You could try regular webpack tooling for that, but I suspect it will not get you too far. Your best bet is adding/removing dependencies one by one and seeing how much the size increases with each