Can someone explain the difference between the webpack.config.js and webpack.config.babel.js files?
What are the required changes needed to be done to change between those two?
Can someone explain the difference between the webpack.config.js and webpack.config.babel.js files?
What are the required changes needed to be done to change between those two?
There are both Webpack Configuration files. Look at the Webpack Configuration doc and Webpack Configuration Concept.
You can have multiple configuration in your project and when you want to execute one of them you can use the flag
--config CONFIG_FILE_NAMElikewebpack --config CONFIG_FILE_NAME.So in your case:
webpack --config webpack.config.jsorwebpack --config webpack.config.babel.js