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