Quotes from SuiviveJS:
Webpack is a module bundler. Webpack can take care of bundling alongside a separate task runner. However, the line between bundler and task runner has become blurred thanks to community developed webpack plugins. Sometimes these plugins are used to perform tasks that are usually done outside of webpack, such as cleaning the build directory or deploying the build.
The create-react-app
comes with pre-configured Webpack so usually you don't need to know the details how it actually works.
If you would like to configure a React project with Webpack from scratch, you can checkout the tutorials below:
- How to Create a React app from scratch using Webpack 4
- React + Webpack 4 + Babel 7 Setup Tutorial
- Learn Webpack for React
- Working with Babel 7 and Webpack
Besides Webpack, there are many other so called bunlders, you can find some comparison here