From: Tomi Virkki Date: Tue, 6 Oct 2015 08:43:50 +0000 (+0300) Subject: Added more specific regex for demo.css import X-Git-Tag: 0.3.0-beta10~2^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=db56a46d1aaa739dbeec4239220ac45a7d114dea;p=vaadin-core.git Added more specific regex for demo.css import --- 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(/^.*