DEV Community

loading...

Discussion on: Optimizing front-end delivery with Webpack 4

Collapse
jesalg profile image
Jesal Gadhia Author

Interesting, I didn't think of that. In my production app, I actually had to put all node_modules through babel for better browser compatibility but I've always considered it big no no since it increases build time.

Collapse
shelldandy profile image
Miguel Palau

yeah that's why for example create-react-app sets cache to true for stuff coming from node_modules and no cache for stuff coming from our includes :)