Skip to content

A repository with examples and exercises to learn webpack for newbies

Notifications You must be signed in to change notification settings

CrisCoves/learn-webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate

Learn Webpack

Webpack helps you managing dependencies in your project, and also offers a friendly and fast development environment, simplifying a lot of common tasks behind a simple configuration file.

It also allows you to bundle your modules into static assets for browsers. Its killer feature is the known as hot module replacement, which lets your live code in the browser update automatically as you change files in your preferred editor without a page reload.

Unfortunately, webpack doc pages are not friendly enough for beginners like me. That's why I decided to create this repository: to help people to learn webpack with a collection of exercises and examples.

How to use this repository

First of all, clone or fork this repository. If you are not used with npm or git, This is what you basically need to do:

The examples in this repository use yarn as dependecy package manager, to take advantage of yarn's cache, since most of them reuse the same dependencies. In the examples it is assumed that you've already installed yarn, although it's not mandatory. You could always do npm install to install the dependencies in every example.

git clone git@github.com:danderu/learn-webpack.git
cd learn-webpack
cd examples/some_example_directory
yarn

If you need more information about forking a repository, follow this guide.

Repository index

Navigate into the example folders to find out the different webpack configuration examples to help you get started with this module bundler. You will learn about the different configuration possibilities, from the simplest one to the most advanced configuration for deploying into production your bundles.

How to collaborate

Please feel free to propose new examples or ask for help with any configuration you are trying to learn.

License

MIT

About

A repository with examples and exercises to learn webpack for newbies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published