Skip to content
This repository has been archived by the owner on Sep 15, 2019. It is now read-only.

buildCss

tones31 edited this page Oct 17, 2016 · 1 revision

Concats CSS files in order, minifies them, and optionally renames the final CSS file.

Example

This will take the three files, timer.css, date.css, and myApp.css, combine them into one file, style.min.css, minify, and save it into a file path defiend in build.myApp.

var cssFiles = [
   src.assets.css + 'timer.css',
   src.assets.css + 'date.css',
   src.timeApp.css + 'myApp.css'
];
// no final argument defaults to "style.min.css"
return buildCss(cssFiles, build.myApp);
Clone this wiki locally