]> source.dussan.org Git - vaadin-core.git/commitdiff
Removing demo styles from common imports
authorTomi Virkki <virkki@vaadin.com>
Tue, 6 Oct 2015 07:56:06 +0000 (10:56 +0300)
committerTomi Virkki <virkki@vaadin.com>
Tue, 6 Oct 2015 07:56:06 +0000 (10:56 +0300)
tasks/docsite.js

index 771cbf7d070b9d12e10502c9c1af3551e3c8f8bf..fe5546fe69397b52841e407f37eab8bc07719ede 100644 (file)
@@ -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));
   });