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.
- run
npm install
to install all packages and dependencies.
- run
npm run serve
to get a local server rolling. This setup uses http-server to serve files. - run
npm run watch
to build and watch js and css files. - run
npm run build
to just build js and css files
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.