Development

There are primary tools:

  • Webpack
  • npm
  • Browsersync

1. Installation

Clone the code:

git clone https://github.com/cuonghuynh/webpack-es6-boilerplate project-name

Install front-end packages

yarn

2. Build commands

Run these script commands

  • yarn build - compile and optimize the files in assets directory
  • yarn build:production - compile assets for production
  • yarn start - Compile assets when file changes are made, start Browersync session

Read more details at Sage document.