/lean-scaffolding-webpack

Basic html5 scaffolding project using gulp and webpack

Primary LanguageJavaScriptMIT LicenseMIT

Lean Scaffolding Webpack

Lightweight scaffolding template application using webpack.

CLI

$ npm install
$ webpack --watch -dev # Start the webpack dev server with watch
$ nodemon # Starts the server and print listening port (open in another terminal)
$ gulp webpack:build # Lint the code and create bundle.js
$ gulp webpack:build-dev #Lint the code and create bundle.js and sourcemaps

Source Structure

- src/ // source Files
--- js/
----- entry.js // webpack entry point
- www/ // public Files
--- dist/ // public distribution files (bundles)
--- index.html // html entry point

Stack

npm express webpack gulp

Useful Links