summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorTomi Virkki <virkki@vaadin.com>2015-10-06 11:43:50 +0300
committerTomi Virkki <virkki@vaadin.com>2015-10-06 11:43:50 +0300
commitdb56a46d1aaa739dbeec4239220ac45a7d114dea (patch)
tree5e1adc7699e7a69282a5ae7b78076ac9eedbd84a /tasks
parent83bc858374d4eef2946779f854b795e01fbe4eaf (diff)
downloadvaadin-core-db56a46d1aaa739dbeec4239220ac45a7d114dea.tar.gz
vaadin-core-db56a46d1aaa739dbeec4239220ac45a7d114dea.zip
Added more specific regex for demo.css import
Diffstat (limited to 'tasks')
-rw-r--r--tasks/docsite.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docsite.js b/tasks/docsite.js
index f80f312..4f8be17 100644
--- a/tasks/docsite.js
+++ b/tasks/docsite.js
@@ -74,7 +74,7 @@ config.components.forEach(function (n) {
// 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(replace(/^.*<link.*demo.css.*\n/im, ''))
// Remove table of contents
.pipe(replace(/^.*table-of-contents.html.*\n/im, ''))