This stack core is to be included in your main project and sets up many Gulp tasks that can work in many flexible ways by passing in different config
objects, which can be based off of gulpfile.default.yml
(and is merged with).
- SCSS => CSS compiling with LibSass, PostCSS, linting, CSScomb(x), and SourceMaps
- JS compiling via Babel, linting and aggregation
- webpack module bundling
- SVG => Font Icons compiling with support for adding mixins and classes to SCSS along with a demo page
- Drupal file watching to trigger Drush cache clears
- Copy any files to an other location
- Sprite generator (with Retina Display support)
All is easily configurable by changing values in your gulpfile.yml
file in your project. These values are merged into the gulpfile.default.yml
file - look there for the available options and defaults.
Full documentation is available here.
- Browsersync live reload and style injection (should be OK, not tested)
- Images => Images optimization (to validate)
- JS specs => JS tests using Karma
Have a look at the Contributing section.
Original project from p2-theme-core
.
MIT (original license)