-
Notifications
You must be signed in to change notification settings - Fork 555
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
Less variables not imported globaly #426
Comments
I can confirm this issue. Twitter bootstrap defines all variables in an separate file "variables.less". After importing they should be available in global scope for reuse. The latest Less refactorings broke the previous correct behavior. |
following this |
Looks like applying the less filter based on file extension causes these issues. A temporary solution for Symfony2 users is to remove the apply_to: ".less$" line in your config.yml and instead add the filter to the twig stylesheet tag. See also https://github.com/symfony/AsseticBundle/issues/198 |
cvschaefer one interesting workaround I just got, was simply to disable cssembed and the less is parsed well, still don't know what's going on |
I'm not sure how this is happening. Are you running both the Sass and CssEmbed filters? |
I can confirm this issue. Here is my compoiser.json and the relevant part from my config.yml: composer.json
config.yml
|
I have the exact same issue and disabling cssembed worked for me too... |
Same issue here |
1 similar comment
Same issue here |
Any news about this issue? How to solve it? |
Still an issue. Did anybody solve this? We're still using Assetic. As it's dropped by Symfony 3.0 it seems to be time to move along: 😞 |
confirmed for symfony 2.8. Why isn't that one fixed? It's major :( |
Currently using the https://github.com/phiamo/symfony-bootstrap, and out of the box, assetic works perfectly but when we update the dependencies, the generated less file throw a 500 exception.
The main differences seems to be the upgrade on this assetic framework, can't figure out if it's related to the symfony assetic bundle.
Initial Git file
Updated Git file
Stack trace of the exception when loading the file through dev environment
http://somehost/app_dev.php/css/f1e3c9a_mopabootstrapsandboxbundle_1.css
The text was updated successfully, but these errors were encountered: