there is a lot of commented out code in the webpack.config.js, looks like you used a boilerplate and just removed stuff.
why not just learn Webpack and then you wouldn't have to use a boilerplate ? cause do you feel confident explaining what each and every single line in the config does ? this is not a change that you need to work on immediately it's just keep in mind for the future
other than that the boiler plate that you are using has a lot of flaws for example a lot of dependencies in the package.json are no supposed to be in dev dep stuff like babel are required for production builds
there is a lot of commented out code in the webpack.config.js, looks like you used a boilerplate and just removed stuff. why not just learn Webpack and then you wouldn't have to use a boilerplate ? cause do you feel confident explaining what each and every single line in the config does ? this is not a change that you need to work on immediately it's just keep in mind for the future