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
Compiler @import don't work #112
Comments
Are you running in |
Let's just focus on the CSS for now (I've commented out anything to do with JS on my project since I posted the original ticket) I understand what is supposed to happen, however :
I think there is some inconsistent behaviour resulting from using I did a-lot of fiddling with the storage settings concerning pipeline. |
|
I understand that the output file is supposed to be created when I use The issue is actually that the output filename is not conforming to the rules i dictate as master and lord of the reality that is my django project. As a meglo-manical fascist dictator this makes me very unhappy. You see from my initial post, that I expect the
However the second step there actually happens like :
|
It will happen as long as you don't have set |
Can I add that pipeline also seems to try to build all the assets from within the app static directory instead of from the STATIC_ROOT directory where all the staticfiles have been collected |
no because our less files span many app static directories, so they |
Let's proceed step by step, if you setup |
@cyberdelia no. because there are less files in some apps that import less files from other apps... which fail because the less compiling occurs before they are moved to the settings.STATIC_ROOT. For example :
This fails because the import expects the base_mixins.less to be in the same directory, but it is impractical to make a copy of this base_mixins inside every single django app where i want to make use of it. all less files should be copied to the settings.STATIC_ROOT before lessc compiling occurs. So I want to get this working so i can then get jsmin working on our javascript files... but i can't because it's impractical to edit the pipeline config to disable the less setup just to get the js working. |
I acknowledge this issue. Thanks for taking time to debug it, it helps a lot. |
@twoolie Did you have the time to test the |
@cyberdelia No sorry, I had to switch focus. I'll be testing it out around the end of this week/start of next though. |
@twoolie It does work with collectstatic, but not in DEBUG/dev mode for now. |
Closing in favor of #150. |
With the below situation, our 'base' bundle is still being compressed and written to a file called 'css/base.css' (where it should be 'css/thatguyismystyle.base.min.css' )
The template tag still writes out the desired filename (which is 'css/thatguyismystyle.base.min.css' )
The text was updated successfully, but these errors were encountered: