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/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css');

@@ -1,17 +1,11 @@
-const %7B
+let
  mix
- %7D
  = r
@@ -434,16 +434,603 @@
  %7C%0A */%0A%0A
+mix.copy('node_modules/fullcalendar/main.css', 'public/plugins/fullcalendar/css/main.css');%0Amix.copy('node_modules/fullcalendar/main.js', 'public/plugins/fullcalendar/js/main.js');%0Amix.copy('node_modules/fullcalendar/main.min.js', 'public/plugins/fullcalendar/js/main.min.js');%0Amix.copy('node_modules/fullcalendar/locales/de.js', 'public/plugins/fullcalendar/locales/de.js');%0Amix.copy('node_modules/fullcalendar/locales-all.js', 'public/plugins/fullcalendar/locales-all.js');%0Amix.copy('node_modules/fullcalendar/locales-all.min.js', 'public/plugins/fullcalendar/locales-all.min.js');%0A%0A//
 mix.js('
@@ -1074,12 +1074,8 @@
 js')
-%0A   
 .sas

add webpack to support NPM packages