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.disableNotifications();

mix.browserSync({
    open: false,
    proxy: 'sqlgreygui.local',
    files: [
        'app/**/*.php',
        'resources/views/**/*.php',
        'resources/views/**/*.twig',
        'public/assets/js/**/*.js',
        'public/assets/css/**/*.css'
    ]
});

mix.setPublicPath('public/assets');
mix.setResourceRoot('/assets/');

mix.sass('resources/assets/sass/style.scss', 'css')
    .js('resources/assets/js/app.js', 'js')
    .js('resources/assets/js/public.js', 'js');
/*.extract([
 'axios',
 'lodash',
 'vue',
 'vue-strap',
 ]);*/

if (mix.config.inProduction) {
    mix.version();
}

@@ -29,17 +29,16 @@
 el-mix')
-;
 %0A%0A/*%0A %7C-
@@ -463,17 +463,16 @@
 ations()
-;
 %0A%0Amix.br
@@ -483,18 +483,16 @@
 rSync(%7B%0A
-  
   open: 
@@ -500,18 +500,16 @@
 alse,%0A  
- 
- 
 proxy: '
@@ -527,18 +527,16 @@
 local',%0A
-  
   files:
@@ -542,20 +542,16 @@
 : %5B%0A    
- 
-   
 'app/**/
@@ -550,36 +550,32 @@
 'app/**/*.php',%0A
-    
     'resources/v
@@ -590,20 +590,16 @@
 *.php',%0A
-    
     'res
@@ -623,28 +623,24 @@
 .twig',%0A    
-   
- 
 'public/asse
@@ -659,20 +659,16 @@
 s',%0A    
-   
- 
 'public/
@@ -692,17 +692,14 @@
 ss'%0A
-  
   %5D%0A%7D)
-;
 %0A%0Ami
@@ -730,17 +730,16 @@
 assets')
-;
 %0Amix.set
@@ -762,17 +762,16 @@
 ssets/')
-;
 %0A%0Amix.sa
@@ -814,26 +814,24 @@
 ', 'css')%0A  
- 
- 
 .js('resourc
@@ -858,18 +858,16 @@
 , 'js')%0A
-  
   .js('r
@@ -906,12 +906,11 @@
 js')
-;%0A/*
+%0A  
 .ext
@@ -916,16 +916,19 @@
 tract(%5B%0A
+   
  'axios'
@@ -929,16 +929,19 @@
 axios',%0A
+   
  'lodash
@@ -947,16 +947,19 @@
 h',%0A
+   
  'vue',%0A
  'vu
@@ -954,16 +954,19 @@
  'vue',%0A
+   
  'vue-st
@@ -973,16 +973,13 @@
 rap'
-,
 %0A
+ 
  %5D)
-;*/
 %0A%0Aif
@@ -1007,18 +1007,16 @@
 tion) %7B%0A
-  
   mix.ve
@@ -1026,8 +1026,7 @@
 on()
-;
 %0A%7D%0A

Enable extraction