From 8e9a9a5960697cd8cd698ca6b4d8733bd7872de6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 26 Jul 2016 21:09:39 -0700 Subject: Enable flexbox grid CSS on our docs page - Creates new flexbox grid Sass file in our docs assets - Updates the Gruntfile to compile said new Sass file and minify the output - Update notice on flexbox docs page for how it works - Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features) --- Gruntfile.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 0deece20c..fd729a4f7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -184,8 +184,15 @@ module.exports = function (grunt) { ] }, docs: { - src: 'docs/assets/css/docs.min.css', - dest: 'docs/assets/css/docs.min.css' + files: [ + { + expand: true, + cwd: 'docs/assets/css', + src: ['*.css', '!*.min.css'], + dest: 'docs/assets/css', + ext: '.min.css' + } + ] } }, -- cgit v1.2.3