-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Minify fails with escaped less code #13604
Comments
Sounds like a possible |
I can't reproduce the issue with clean-css 2.1.8: .timeline{width:e("calc(100% - 90px)")} So it must be |
Not really a Less fault. I looked at Gruntfile.js and the |
Not really a clean-css fault, that was my point. Personally, I don't like Less' approach with its built in clean-css, and I wasn't the one who added that so I don't know if it's done right or not. |
Yes, of course. I guess the proper solution would be to reassign the minification of those css files from the |
@seven-phases-max: feel free to make a PR for that. |
Fixed in #13624 |
Awesome, I'm glad to have helped, thanks for merging! |
I want to use escaped text in my less code:
But because css is minified using less:clean-css, the code in
bootstrap.css
gets calculated again and comes out inbootstrap.min.css
as:I thought of telling the
less:minify
task in the gruntfile to use the originalbootstrap.less
file as the source, but then it loses out on theautoprefixer
andcsscomb
tasks that usually run on the css beforehand.Any ideas on how to overcome this?
The text was updated successfully, but these errors were encountered: