/webpack-boilerplate

A opinionated starting point for frontend projects.

Primary LanguageCSSMIT LicenseMIT

My Webpack Boilerplate

An opinionated starting point for frontend projects.

The hardest thing about just any work is to get started so the aim of this repository is to provida a solid boilerplate for frontend (HTML/(S)CSS/JS) projects.

Installation

Simply clone this repository, install the npm dependecies.

$ git clone git@github.com:slashadmin/webpack-boilerplate.git myproject
$ cd myproject
$ npm install
$ npm run watch

Usage

  • npm run build run Webpack.
  • npm run production run Webpack and optimize output for production.
  • npm run watch will watch source files for changes and run Webpack automatically to recompile assets if needed. It will also start Browsersync serving the /public directory.