diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-03-05 13:49:08 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-03-05 13:49:08 +0100 |
commit | 5c24818b7e10831d7af613f55851493c702545c9 (patch) | |
tree | bf811e06d82d679b20b75bdf176291b202925299 /gulpfile.js | |
parent | 5dfaa32418c73fcbdfb8fc5a1584b4c92d0192d2 (diff) | |
download | fosdem-2021-minimalism-presentation-5c24818b7e10831d7af613f55851493c702545c9.tar fosdem-2021-minimalism-presentation-5c24818b7e10831d7af613f55851493c702545c9.tar.gz |
setup babel
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 c690f3a..ec2191b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,6 +1,7 @@ const gulp = require('gulp') const zip = require('gulp-zip') const sass = require('gulp-sass') +const babel = require('gulp-babel') const qunit = require('gulp-qunit') const header = require('gulp-header') const eslint = require('gulp-eslint') @@ -24,6 +25,7 @@ const license = `/*! */\n` gulp.task('js', () => gulp.src(['./js/reveal.js']) + .pipe(babel({ presets: ['@babel/preset-env'] })) .pipe(uglify()) .pipe(header(license, {pkg: pkg})) .pipe(rename('reveal.min.js')) |