How does one get started with Webpack? Well, with the simplest Webpack config evar of course. Tots.
Here’s how we slay this beast, start by running the following
You need to install webpack first via npm:
|
|
Ok, simplest webpack config, one entrypoint, one output:
|
|
|
|
|
|