diff options
author | Sam Potts <sam@potts.es> | 2018-05-19 11:26:05 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-05-19 11:26:05 +1000 |
commit | 1bab0d07b5b22230aab6e68105c8fc574add31e3 (patch) | |
tree | 34866e67f21a3e14c6874313ae8787795db96605 /gulpfile.js | |
parent | 34401de3d03e61eb7d1a04f6f0b7599e7ce9cd93 (diff) | |
parent | 602353f4d953c5b083ee22fd0ee479ad605de281 (diff) | |
download | plyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.tar.lz plyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.tar.xz plyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.zip |
Merge branch 'master' into develop
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index eec51aba..262fa2d2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -13,6 +13,7 @@ const filter = require('gulp-filter'); const sass = require('gulp-sass'); const cleancss = require('gulp-clean-css'); const run = require('run-sequence'); +const header = require('gulp-header'); const prefix = require('gulp-autoprefixer'); const gitbranch = require('git-branch'); const svgstore = require('gulp-svgstore'); @@ -146,6 +147,7 @@ const build = { options, ), ) + .pipe(header('typeof navigator === "object" && ')) // "Support" SSR (#935) .pipe(sourcemaps.write('')) .pipe(gulp.dest(output)) .pipe(filter('**/*.js')) |