When working with NPM to create a basic web application, like using create-react-app, I am overwhelmed by the number of files in the node_modules directory. Most of these files are not even used as the application is still in its infancy. Are all these dependencies necessary only during development?
I'm curious if there is a method to streamline and bundle all these files into just a few essential ones through webpack?