From 46717c831bbbc19b9b0c29512e17b230c775f48b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Teemu=20Po=CC=88ntelin?= Date: Tue, 30 Aug 2016 12:13:49 +0300 Subject: [PATCH] Use correct bower.json depending on version --- tasks/docsite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/**'; }); -- 2.39.5