So what is webpack?
Webpack is a bundler but it actually is more than that, a bundler alone would just concatenate files, webpack
does that
but it also allows you to optimize your files and you hook in various plugins and so-called loaders
to also transform your files
and for example transpile next generation javascript to current generation javascript. But in its core,
the idea behind webapck is to have multiple javascript, css, image, whatever files and bundle them together.
It analyzes connections between these files like imports and then bundles everything together, allows
you to optimize it
and as I said, allows you to also run some additional logic to transform your code or do whatever you
need to do with it.
This is what webpack does and webpack is the de-facto standard for setting up projects these days.
That's why we'll also use it in this module for setting up our own react workflow and project.