Start with a empty directory.
Create these files:
$$$ files
Then run the following:
$ webpack ./entry.js bundle.js
It will compile your file and create a bundle file.
If successful it displays something like this:
$$$ output
Open index.html
in your browser. It should display It works.
$$$ index.html