 size = require 'gulp-size'
 rename = require 'gulp-rename'
 imagemin = require 'gulp-imagemin'
+imgResize = require 'gulp-image-resize'
 
 # =================================================================                      
 # high level tasks

                new RegExp('^.parsley-.*')
                new RegExp('^.datalist.*')
                new RegExp('^li.active.*')
                ]
                ))
    .pipe(gulp.dest('build/css'))

    trellisQuantisation: false
  }

  return gulp.src('./build/media/images/**/*.{jpg,png}',{base: './'})
    .pipe(plumber())
    .pipe(image_min(options))
    .pipe rename
