webpack Getting started with webpack Webpack Simple Example

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

The minimum required to use Webpack is the following command:

webpack ./src/index.js ./dist/bundle.js

// this is equivalent to:

webpack source-file destination-file

Web pack will take the source file, compile to the output destination and resolve any dependencies in the source files.



Got any webpack Question?