var elixir = require('laravel-elixir');

require('laravel-elixir-bower');

elixir(function(mix) {
    mix.bower('vendor.css', 'public/assets/css', 'vendor.js', 'public/assets/js')
       .stylesIn('resources/assets/css', 'public/assets/css')
       .scriptsIn('resources/assets/js', 'public/assets/js')
       .version([
            'public/assets/css/all.css',
            'public/assets/css/vendor.css',
            'public/assets/js/all.js',
            'public/assets/js/vendor.js'
        ]);
});

elixir(function(mix) {
    mix.copy('bower_components/bootstrap/dist/fonts', 'public/assets/fonts')
       .copy('bower_components/bootstrap/dist/fonts', 'public/build/assets/fonts');
});

@@ -250,29 +250,114 @@
 .scripts
-In('resources
+(%5B%0A            'plugins/*.js',%0A            'modules/*.js',%0A            'lara.js'%0A       %5D, 'public
 /assets/
@@ -358,30 +358,33 @@
 ssets/js', '
-public
+resources
 /assets/js')
@@ -407,39 +407,32 @@
 (%5B%0A            '
-public/
 assets/css/all.c
@@ -445,31 +445,24 @@
            '
-public/
 assets/css/v
@@ -478,39 +478,32 @@
 ',%0A            '
-public/
 assets/js/all.js
@@ -518,23 +518,16 @@
        '
-public/
 assets/j
@@ -535,25 +535,24 @@
 /vendor.js'%0A
- 
        %5D);%0A%7D

Fix order of js files being merged in gulpfile