xMandarin / webpack-basic-starter

a basic webpack starter kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack-basic-starter

A basic webpack starter kit.

this demo shows how webpack works with sass, es6, third-party library(jQuery, moment .etc), legacy javascript code(like jQuery plugin).

How is it work? install the deps we are testing library using npm(jquery, moment) and bower (lodash).

npm install && bower install

run the dev server

npm run start

then open your http://localhost:8080 see how the magic happens.

deployment

npm run build

then you'll find a new build folder generated.

TODO: testing

npm run test

About

a basic webpack starter kit


Languages

Language:JavaScript 90.9%Language:HTML 7.3%Language:CSS 1.9%