I started using webpack with my node application recently. However, the application generates a huge file in client/dist/js/app.js and commiting that file everytime takes quite a bit of time. I imagine, that as my web application keeps growing, its going to get even worse.
The question is, since you can always run npm run bundle, which will run webpack locally and generate all the required files, do you actually have to commit the entire directory generated by webpack? Is it considered good or bad practice doing that?