aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 86109fa7..5003eca1 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -311,10 +311,10 @@ if (Object.keys(credentials).includes('aws') && Object.keys(credentials).include
const files = ['plyr.js', 'plyr.polyfilled.js', 'config/defaults.js'];
return gulp
- .src(files.map(file => path.join(root, `src/js/${file}`)))
+ .src(files.map(file => path.join(root, `src/js/${file}`)), { base: '.' })
.pipe(replace(semver, `v${version}`))
.pipe(replace(cdnpath, `${aws.cdn.domain}/${version}/`))
- .pipe(gulp.dest(path.join(root, 'src/js/')));
+ .pipe(gulp.dest('./'));
});
// Publish version to CDN bucket