Skip to content

Files

Latest commit

 

History

History
31 lines (21 loc) · 792 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 792 Bytes

Webpack Boilerplate

Webpack boilerplate that includes SCSS and Babel loaders with separate configurations for development and production environments.

Installation

Clone

Clone this repo to your local machine using https://github.com/jako-basson/webpack-boilerplate.git

Setup

In the root directory of the cloned repo install npm packages by running

$ npm install

Development

Run command npm start to execute the webpack development configuration.

Production

Run command npm run build to execute the webpack production configuration.

Features

  • Separate dev and prod webpack configurations
  • Cache busting for js, css and images
  • Live reloading in development
  • Minification for js, css and html in production
  • Babel loader
  • SCSS loader