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

Latest commit

 

History

History
 
 

1.4 webpack-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Use a configuration file

We want to put our configuration into a file to we don't have to type all the command line arguments to compile.

webpack use webpack.config.js as configuration if found in the current directory

$$$ files

Create The Bundle

Now we just have to call webpack without arguments.

webpack

Summary

Our configuration is now in a file.

$$$ index.html