Initial enviroment configuration designed to have the best pratices.
Features | Install | Usage | Todos
- JS minified bundle (critical and defered)
- Babel transpiler with map
- CSS minified bundle
- Sass compiler with map
- Stylelint
- Font loader
- Image compression (png, jpg, gif and webp)
- SVG sprite loader
- install editorconfig
- install rimraf globaly
- npm install
- .md Install
- .md Usage: doc on how to use stuff (e.g. SVG sprites + more info for extract)
- Implement wp-dev-server
- test babel polyfill
- Split CSS output to serve critical and defered styles
- Fix Autoprefixe
- Compress the same image in 2 ways, one in a good quality and another in a very low quality, to implement progressive image loading. Reference
- Code spliting to deliver critical CSS/JS and defer the rest
- Bundle name (css/js) with hash (for caching) on build mode
- Use pot files to store the hashed, to later read the names and includ dinamically on the functions.php of wp
- Make a demo page at wowe.edubonamigo.com