ojthejuice
4 years ago
8
2
Mix

set input directory for less function

Posted 4 years ago by ojthejuice

Is there a way to set the input or root directory for less using elixir. And can i use mix.less twice. i.e

elixir(function(mix) {
    mix.less(
        'style.less',                                  
        'public/frontend-less/style.css' 
    );

   //second less task 
    mix.less(
        '..',                    //point to different directory
        '....'                   //output to different directory 
    );

});

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