From 6374e028801bff91b738efb7252df02baf38e635 Mon Sep 17 00:00:00 2001 From: Tomi Virkki Date: Tue, 6 Oct 2015 10:56:06 +0300 Subject: Removing demo styles from common imports --- tasks/docsite.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tasks') diff --git a/tasks/docsite.js b/tasks/docsite.js index 771cbf7..fe5546f 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -73,6 +73,8 @@ config.components.forEach(function (n) { .pipe(replace(/(src|href)=("|')\.\.(\/\w)/mg, '$1=$2../bower_components/' + n + '$3')) // Adjust location of dependencies in bower_components (../..) .pipe(replace(/(src|href)=("|')(.*?)\.\.\/\.\.\//mg, '$1=$2../bower_components/')) + // Remove references to demo.css file + .pipe(replace(/^.*demo.css.*\n/im, '')) .pipe(gulp.dest(componentDocsite)); }); -- cgit v1.2.3