Skip to content
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

Uplifting from 2.8 to 3.0 causes issues with precompiling. #145

Open
JakeLaCombe opened this issue Jan 4, 2018 · 2 comments
Open

Uplifting from 2.8 to 3.0 causes issues with precompiling. #145

JakeLaCombe opened this issue Jan 4, 2018 · 2 comments

Comments

@JakeLaCombe
Copy link

I recently uplifted an application to use 3.0 instead of 2.8, and found the following differences between the two.

For less-rails 2.8.0, I find that the rake assets:precompile takes all of the less files and generates a single .css file. However, with less-rails 3.0.0, I see that it's generating several individual .less files instead of one cancatenated application.css file.

For the way our app imports assets, we need to generate a single application.css file for our needs. Is there a way to achieve this with less-rails 3.0.0?

@calebmeyer
Copy link

Just spent a full day debugging this. Glad to have found this issue.

@JakeLaCombe
Copy link
Author

I changed application.css to application.css.less, and that seemed to compile the file with the correct extension. Should this be the accepted solution for this issue? I didn't find any documentation or migration steps to verify this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants