jplhomer / fe-boilerplate

Webpack based front-end boilerplate with basic es2015 and sass compilation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack ES2015 and Sass Boilerplate

A barebones webpack config to compile Sass via node-sass and ES2015 JavaScript via Babel. Provides webpack-dev-server and webpack-dashboard.

screenshot of browser and webpack-dashboard

Install Dependencies

npm install

Developing Locally

  1. Run
npm run dev

This starts webpack dev server on localhost:8080 and webpack will watch for changes and automatically reload the browser.

Simulate production

  1. Run
  npm run production

This is the same as running dev, but will minify JS and CSS.

About

Webpack based front-end boilerplate with basic es2015 and sass compilation

License:MIT License


Languages

Language:JavaScript 88.5%Language:HTML 11.5%