From: Tomi Virkki Date: Tue, 6 Oct 2015 07:56:06 +0000 (+0300) Subject: Removing demo styles from common imports X-Git-Tag: 0.3.0-beta10~2^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6374e028801bff91b738efb7252df02baf38e635;p=vaadin-core.git Removing demo styles from common imports --- 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)); });