diff options
author | Sauli Tähkäpää <sauli.tahkapaa@outlook.com> | 2016-08-30 14:04:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 14:04:12 +0300 |
commit | 199891513f89d5ef1ef7c526f876a4a9de166a0a (patch) | |
tree | a51f7d14f0dd94c9b933446df53f28425e6cd99b /tasks/docsite.js | |
parent | cb94ce56f1c9a95e6a77be1961bba5158837302c (diff) | |
parent | ac016539b77e41337c2751843b35c0a481a6390c (diff) | |
download | vaadin-core-199891513f89d5ef1ef7c526f876a4a9de166a0a.tar.gz vaadin-core-199891513f89d5ef1ef7c526f876a4a9de166a0a.zip |
Merge pull request #67 from vaadin/fix/cdn-master
Improve cdn deployment of master versions
Diffstat (limited to 'tasks/docsite.js')
-rw-r--r-- | tasks/docsite.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tasks/docsite.js b/tasks/docsite.js index 50fb02e..4c18233 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -56,9 +56,10 @@ gulp.task('cdn:docsite:core-elements-integrations', function() { }); gulp.task('cdn:docsite:core-elements-elements', ['cdn:docsite:bower_components'], function() { - var docsPaths = config.coreElements.map(function(c) { - return stagingPath + '/' + c + '/docs/**'; - }); + const bowerJson = require('../' + stagingPath + '/bower.json'); + var docsPaths = Object.keys(bowerJson.dependencies).map(function(c) { + return stagingPath + '/' + c + '/docs/**'; + }); return gulp.src(docsPaths, {base: stagingPath}) .pipe(rename(function (path) { |