Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.

Latest commit

 

History

History
 
 

1.2 setup-compilation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Setup the compilation

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