Webpack Starter Kit
This is my simple webpack starter kit. It is build for static and React projects. It's a working starting point for most base projects. This starter also processes sass and es2015.
npm installto install all packages and dependencies.
Building and Serving
npm run serveto get a local server rolling. This setup uses http-server to serve files.
npm run watchto build and watch js and css files.
npm run buildto just build js and css files
Basic File Structure
Directory |- assets |- css |- components |- lib (for foundation/bootstrap and fontawesome) |- global.scss |- js |-lib (for foundation/bootstrap and fontawesome) global.js |- build |- global.js |- index.html |- package.json |- webpack.config.js
Don't worry about it! Anyone can use this starter and if you have any tips or improvements feel free to drop me a line.