npm install
npm start
npm run build
npm run deploy
This adds gh-pages branch to your project github repository, deploys built project there, hosts the site via GitHub Pages.
ES6
support via babel (v7)SASS
support via sass-loaderLinting
support via eslint & @babel/eslint-parserFormatter
support via prettierAutoprefix
support via postcss-preset-envImage Optimization
support via image-minimizer-webpack-plugin & svgo
- The css file moves to a separate bundle file and gets it included in the head of the
index.html
via mini-css-extract-plugin. - All image files (svg, png, jpg/jpeg, webp) gets compressed with lossless quality
via image-minimizer-webpack-plugin.
Place all external connected files (jQuery and others) in ./tools and provide them path in html file.