Javascript again
* Added babel to get to use ES6 * restructure for head srcipt * general work on javascript files
This commit is contained in:
parent
9ce65091f4
commit
6095870ce3
11 changed files with 382 additions and 46 deletions
|
|
@ -34,6 +34,7 @@ const gulpif = require('gulp-if');
|
|||
const changed = require('gulp-changed');
|
||||
const merge = require('merge-stream');
|
||||
const spritesmith = require('gulp.spritesmith');
|
||||
const babel = require('gulp-babel');
|
||||
// const buffer = require('vinyl-buffer');
|
||||
// const imagemin = require('gulp-imagemin');
|
||||
|
||||
|
|
@ -190,6 +191,7 @@ function code(cb) {
|
|||
}),
|
||||
plumber(),
|
||||
// cache('code'),
|
||||
babel(),
|
||||
concat(hippie.jsFile +'.js'),
|
||||
dest(output.code),
|
||||
uglify(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue