text: const mix = require('laravel-mix');
  
  /*
   |--------------------------------------------------------------------------
   | Mix Asset Management
   |--------------------------------------------------------------------------
   |
   | Mix provides a clean, fluent API for defining some Webpack build steps
   | for your Laravel application. By default, we are compiling the Sass
   | file for the application as well as bundling up all the JS files.
   |
   */
  
  mix.js('resources/js/app.js', 'public/js')
      .sass('resources/sass/app.scss', 'public/css')
      .sourceMaps(false, 'source-map');
  
  //Admin part
  mix.js('resources/js/admin.js', 'public/js/admin')
      .sass('resources/sass/admin.scss', 'public/css')
      .scripts([
          'node_modules/admin-lte/plugins/jquery-ui/jquery-ui.js',
          'node_modules/daterangepicker/daterangepicker.js',
          'node_modules/admin-lte/plugins/bootstrap-switch/js/bootstrap-switch.min.js',
          'node_modules/admin-lte/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.js',
          'node_modules/suneditor/dist/suneditor.min.js',
          'node_modules/admin-lte/plugins/select2/js/select2.full.js',
      ], 'public/js/libs.js')
      .styles([
          'node_modules/admin-lte/plugins/jquery-ui/jquery-ui.css',
          'node_modules/suneditor/dist/css/suneditor.min.css',
          'node_modules/admin-lte/plugins/select2/css/select2.css',
          'node_modules/admin-lte/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.css',
      ], 'public/css/libs.css')
      .copy('node_modules/admin-lte/plugins/jquery/jquery.min.js', 'public/js/admin')
      .copy('node_modules/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js', 'public/js/admin')
      .copy('node_modules/admin-lte/plugins/bs-custom-file-input/bs-custom-file-input.js', 'public/js/admin')
      .copy('node_modules/admin-lte/dist/js/adminlte.min.js', 'public/js/admin')
      .sourceMaps(false, 'source-map');
  
  //Front part
  mix.styles('resources/sass/front', 'public/css/front.css')
      .copyDirectory('resources/sass/front', 'public/css/front')
      .copyDirectory('resources/fonts/front', 'public/fonts/front')
      .copyDirectory('resources/images/front', 'public/images/front')
      .copyDirectory('resources/js/front/libs', 'public/js/front/libs')
      .js('resources/js/front/script.js', 'public/js/front.js')
      .version();
  