-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel Mix #53
Comments
Hi @barcadictni thanks for your issue I haven't worked with Laravel Mix yet, however according to what I read it seems similar to Symfony's Encore which is working (example) So theoretically I should work but as usual: try and error 😉 |
Hey @barcadictni , after 2 days of messing around I found something that helped me out. My objective is just to extract media queries to make a heavy style.css a bit lighter. I am no expert in laravel mix or webpack so I can't guarantee you this is the correct way of doing it, but here is the code from my setup:
This results in this file for example (which is not ideal): Does anyone know how to combine these media queries so that it is just: ? |
I found out how to do it with this package from current owner: https://github.com/SassNinja/postcss-combine-media-query Just:
|
Is it possible to use this plugin with Laravel Mix?
The text was updated successfully, but these errors were encountered: