An Opinionated Webpack Tutorial
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
1-minimum
2-modules
3-config
4-dev-server
5-source-maps
6-es6-loader
7-json-css-loaders
8-sass-autoprefixer-loaders
9-extract-css
.gitignore
.jshintrc
LICENSE
README.md
TUTORIAL.md
package.json

README.md

A Quick Webpack Tutorial

This is a non exhaustive, iterative tutorial to introduce the basics of my current webpack workflow. Starting with a tiny sample project, we'll layer on various bits of webpack functionality to add things such as SASS/CSS modules and live reloading.

Installation

Once you have this repo checked out in a local directory, the tutorial has directions for installing each module/loader as needed. However, to save time you may install all of the dependencies up front.

$ npm install

Running The Examples

Each step coincides with a part of the tutorial, and builds on the previous step. The example commands are intended to be run from inside of the step folder. Read the tutorial.