vendredi 29 juillet 2016

Setting elixir not to merge css files

Is there a way to prevent elixir from merging my assets? My code:

mix.sass(['comingsoon/*.scss', 'comingsoon/**/*.scss'], 'public/assets/comingsoon/css')
        .scripts(['comingsoon/*.js', 'comingsoon/**/*.js'], 'public/assets/comingsoon/js');

I set this to compile all of my sass and js files, but I want to keep the files separate just the way I separate my pre-compiled files. For example, I have home.scss and contact.scss, I want them to be compiled into home.css and contact.css instead of them being merged to app.css.

Ho do I do that?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire