text: import gulp from 'gulp';
  import config from '../config.js';
  // import imagemin from 'gulp-imagemin';
  
  gulp.task('copy:img', () => gulp
    .src([
      config.src.img + '/**/*.{jpg,png,jpeg,svg,gif}',
      '!' + config.src.img + '/svgo/**/*.*'
  	])
  	// .pipe(imagemin([], {
  	// 	verbose: true
  	// }))
    .pipe(gulp.dest(config.dest.img))
  );
  
  gulp.task('copy:fonts', () => gulp
    .src(config.src.fonts + '/*.{ttf,eot,woff,woff2,otf}')
    .pipe(gulp.dest(config.dest.fonts))
  );
  
  gulp.task('copy:data', () => gulp
    .src(config.src.data + '/**/*.*')
    .pipe(gulp.dest(config.dest.data))
  );
  
  gulp.task('copy:lib', () => gulp
    .src(config.src.lib + '/**/*.*')
    .pipe(gulp.dest(config.dest.lib))
  );
  
  gulp.task('copy:rootfiles', () => gulp
    .src(config.src.root + '/*.*')
    .pipe(gulp.dest(config.dest.root))
  );
  
  const build = gulp => gulp.series('copy:img', 'copy:fonts','copy:data');
  const watch = gulp => () => gulp.watch(config.src.img + '/*', gulp.parallel('copy:img', 'copy:fonts','copy:data'));
  
  module.exports.build = build;
  module.exports.watch = watch;
  