-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Pipeline : minified CSS file altered and not applied #2958
Comments
usually this is caused by some improper syntax in one of the css files |
first what version of Grav is this? second, is it possible to get a mini version of your site? something i can test to recreate this? it really only needs the css files and the theme or at least the bit where you include the various css files. |
I use grav 1.7.0-rc.13 @rhukster I gave you access to my repo so you can have a look |
Signed-off-by: Andy Miller <rhuk@mac.com>
Ok turns out it was some bad regex getting caught up with the |
When I activate the css_pipeline and css_minify, the css file is properly created but not applied on the website.
system.yaml
My Website when I activate the minify option:
My head stylesheet link :
My source with devtools :
But then when I give a closer look to the CSS file, it seems to be altered. Look to the @ import url, sometime the letter "u" disapear. (It's not the full code, only the first few lines)
There are a lot of differences with the minified file generated by sass
And in the devtools at a certain point, the code becomes white and stays white until the end. Is this why it is not properly interpreted by the browsers?
The text was updated successfully, but these errors were encountered: