aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-10-25 09:44:40 +1100
committerSam Potts <sam@potts.es>2018-10-25 09:44:40 +1100
commit1a9b860e68cf402e3c5ef16d14863a8892dbf781 (patch)
treee794213f178e2a9c1763b6a9587c84cd8670be42 /gulpfile.js
parentcede7d0f35578a38ce5f04d60666c1aaea8adc89 (diff)
downloadplyr-1a9b860e68cf402e3c5ef16d14863a8892dbf781.tar.lz
plyr-1a9b860e68cf402e3c5ef16d14863a8892dbf781.tar.xz
plyr-1a9b860e68cf402e3c5ef16d14863a8892dbf781.zip
v3.4.6
- Added picture-in-picture support for Chrome 70+ - Fixed issue with versioning the SVG sprite in the gulp build script
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