DEV Community


Discussion on: Optimizing front-end delivery with Webpack 4

remejuan profile image
Reme Le Hane

I would not use that babel config if I were you, take a look at

jesalg profile image
Jesal Gadhia Author

That's a very good point although I think using last 2 major versions, not dead vs a % might be a more robust alternative. That will remove older browsers that aren't supported any longer as well as include the latest versions regardless of market share.

pavelloz profile image
Paweł Kowalski

Too much targetting of old browsers and you end up with a lot more code than is feasible. Sometimes its just better to let users know that old, insecure browser is not supported.