aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorTomi Virkki <virkki@vaadin.com>2015-10-06 10:56:06 +0300
committerTomi Virkki <virkki@vaadin.com>2015-10-06 10:56:06 +0300
commit6374e028801bff91b738efb7252df02baf38e635 (patch)
tree2970bd87d2901674c8124e57e2b8d063391970c8 /tasks
parentf104a47f75c026176bbf25dccc1067c9f70c530c (diff)
downloadvaadin-core-6374e028801bff91b738efb7252df02baf38e635.tar.gz
vaadin-core-6374e028801bff91b738efb7252df02baf38e635.zip
Removing demo styles from common imports
Diffstat (limited to 'tasks')
-rw-r--r--tasks/docsite.js2
1 files changed, 2 insertions, 0 deletions
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));
});