This is a simple boilerplate for static sites, React projects, and using ES6. It uses Gulp for HTML and CSS compilation, and Webpack for JavaScript minification and bundling.
- Install node modules.
$ npm install
- Install Bower components.
$ bower install
- Run Gulp to compile HTML and CSS.
$ gulp
- Run webpack-dev-server.
$ npm start
-
Replace JS source in HTML to minified version.
-
Compile HTML and CSS.
$ gulp build
- Compile JavaScript with Webpack.
$ npm run build