diff options
author | Tomi Virkki <virkki@vaadin.com> | 2015-10-06 11:43:50 +0300 |
---|---|---|
committer | Tomi Virkki <virkki@vaadin.com> | 2015-10-06 11:43:50 +0300 |
commit | db56a46d1aaa739dbeec4239220ac45a7d114dea (patch) | |
tree | 5e1adc7699e7a69282a5ae7b78076ac9eedbd84a | |
parent | 83bc858374d4eef2946779f854b795e01fbe4eaf (diff) | |
download | vaadin-core-db56a46d1aaa739dbeec4239220ac45a7d114dea.tar.gz vaadin-core-db56a46d1aaa739dbeec4239220ac45a7d114dea.zip |
Added more specific regex for demo.css import
-rw-r--r-- | tasks/docsite.js | 2 |
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, '')) |