5 years ago

Laravel Elixir - Multiple sets of scripts

Posted 5 years ago by szainmehdi

Hey guys:

I've started using Laravel 5.0 for a quick project, and I've run into this issue with Laravel Elixir. I'm not sure if I'm doing something wrong here, so any help would be much appreciated.

My Gulpfile.js looks like this:

elixir(function(mix) {
    mix.less(["backend.less", "frontend.less"])


The issue is that only the last scripts call is working. The intended result of this setup is to have an app.min.js file and a dependencies.min.js file created. ONLY the app.min.js is being created.

Please sign in or create an account to participate in this conversation.