I have found the answer. My second and third arguments (input and output directory) of the scripts () function should be interchangeable. It looks like this has changed in the current version of the elixir. Happy coding!
Edit (decision):
elixir(function (mix) { mix.sass('style.scss') .scripts([ 'vendor/jquery.js', 'vendor/foundation.min.js', 'script.js' ], 'public/js/app.min.js', 'resources/assets/js') .scripts([ 'vendor/modernizr.js' ], 'public/js/modernizr.js', 'resources/assets/js'); });
source share