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
via eslint & @babel/eslint-parserFormatter
via prettierAutoprefix
via postcss-preset-envImage Optimization
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.