Tried to find an awnser to this question but could not find it here?
I'm using Laravel Elixir and got the following in my gulpfile:
mix.sass(['app.scss', 'admin.scss'], 'public/css');
Can someone tell me why it is not creating two css files but compiles it into one? How can I achieve it creating multiple files?
Thanks in Advance!
The method to mix sass files is (https://github.com/laravel/elixir/blob/master/ingredients/sass.js):
You have,
Here,
src = ['app.scss', 'admin.scss']
and
output = 'public/css'
So you should combine a single file to the same file as output as :