diff options
author | Teemu Pòˆntelin <teemu@vaadin.com> | 2016-08-30 12:13:49 +0300 |
---|---|---|
committer | Teemu Pòˆntelin <teemu@vaadin.com> | 2016-08-30 12:13:49 +0300 |
commit | 46717c831bbbc19b9b0c29512e17b230c775f48b (patch) | |
tree | 34ef184cb04522911a2719b58b652d0f8c5f49b7 | |
parent | d0c3e368202e5e55d1e7eecc7616f09f7d7d4f2e (diff) | |
download | vaadin-core-46717c831bbbc19b9b0c29512e17b230c775f48b.tar.gz vaadin-core-46717c831bbbc19b9b0c29512e17b230c775f48b.zip |
Use correct bower.json depending on version
-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 2543662..4c18233 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -19,7 +19,6 @@ var stagingPath = stagingBasePath + '/' + version; var modify = require('gulp-modify'); var rootZip = 'target/'; var fileZip = 'docsite.zip'; -var bowerJson = require('../bower.json'); gulp.task('cdn:docsite:clean', function() { fs.removeSync(docPath); @@ -57,6 +56,7 @@ gulp.task('cdn:docsite:core-elements-integrations', function() { }); gulp.task('cdn:docsite:core-elements-elements', ['cdn:docsite:bower_components'], function() { + const bowerJson = require('../' + stagingPath + '/bower.json'); var docsPaths = Object.keys(bowerJson.dependencies).map(function(c) { return stagingPath + '/' + c + '/docs/**'; }); |