text: const {
    src,
    dest
  } = require('gulp');
  const uglify = require('gulp-uglify-es').default;
  const babel = require('gulp-babel');
  const concat = require('gulp-concat');
  const multiDest = require('gulp-multi-dest');
  
  module.exports = function build_js() {
    return src(['src/components/**/*.js', 'src/js/01_main.js'])
      .pipe(uglify())
      .pipe(babel({
        presets: ['@babel/env']
      }))
      .pipe(concat('main.min.js'))
      .pipe(multiDest(['build/js/', './../../../build/js/']))
  }
  