gulp.task('cdn:stage-bower.json', ['clean:cdn'], function() {
// Load the bower.json, assign overrides and write back to disk.
- let bowerJson = JSON.parse(fs.readFileSync('./bower.json', 'utf-8'));
+ var bowerJson = JSON.parse(fs.readFileSync('./bower.json', 'utf-8'));
if (version === 'master') {
gutil.log('Applying overrides to ' + stagingPath + '/bower.json');
});
gulp.task('cdn:docsite:core-elements-elements', ['cdn:docsite:bower_components'], function() {
- const bowerJson = require('../' + stagingPath + '/bower.json');
+ var bowerJson = require('../' + stagingPath + '/bower.json');
var docsPaths = Object.keys(bowerJson.dependencies).map(function(c) {
return stagingPath + '/' + c + '/docs/**';
});