Getting started

To start using this template project, follow this instructions:

  • Install Yarn;
  • Clone this template with git clone https://github.com/thomas-adriano/webpack-3-template;
  • Rename the repo's root folder and the package.json name property to your preference;
  • Configure global project properties, like app title and build path, throught the project.configs.js file.

Features

Cache ready

  • All assets used (like images, js and css files) are minified, compressed and have the name changed to its content hash;
  • Thirdparty code (provenient from sources other than this project) separated from application code in final build files;
  • Offline working with Service Workers.

Separated build profiles

  • Development profile with fast build time and hot reloading;
  • Production profile fully optimized to caching and offline work;

Unit tests

Developer friendly environment