diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/docsite.js | 2 |
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)); }); |