10 months ago

Laravel 5.8 Mix: how to compile all .scss files in the folder without specifying each file

Posted 10 months ago by dexter_siah

Hi everyone, I'm trying to import some external .scss files onto my project but there are too many to list. Is there a way to compile all the .scss files in the folder without having to specify every individual file. I'm trying to achieve something similar to the code below but unfortunately it is not working. Any ideas how can this be done?

mix.sass('resources/sass/*.scss', 'public/css');

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