Add Sass to Pegasus - #46558
Conversation
|
I think we'll want to integrate this into our build process. @davidsbailey, @tim-dot-org, @breville, any quick pointers on how/where to do this? If not, I'll dig into it with Kelby. |
I think you will need to decide if you want the .css files to be checked into the repo. the way you have it now, it seems like they would have to be, in which case it would be on the developer to rerun the sass command every time they update a .scss file. this does not seem ideal. if you used a subdirectory like code-dot-org/lib/rake/build.rake Line 119 in cbad9b3
I'm not sure any of steps 2-4 need to be integrated into the build process.
the packages installed by brew should be added to our setup instructions. it would be nice if you can find a package on linux that will work for people who use that OS as a development environment, to be installed with |
|
Thanks @davidsbailey! I'll look into this w/ @jamescodeorg next week. |
|
I think the ideal workflow would be that we simply render the sass file when the equivalent |
Thanks Brendan! This sounds great to me. |
|
@breville does this mean if I want to use sass in pegasus I can just make a |
I believe you can still use this functionality, yes. That said, for a long time we have liked the idea of supporting sass in pegasus proper, which would also mean we could convert a lot of its existing |
|
@breville Thanks for the info, this sounds like a better approach. Do you know off-hand how this works for the .scss files in /shared? (If not, I can dig around.) |
|
Thanks for all the pointers and work here, I've created a new PR with the change to enable sass for pegasus using the same approach as /shared. I think we can close this PR unless you'd like to keep the test files? |
No need to keep the test files, I'll close this PR. And I second the thanks to everyone big time! |
Add Sass to Pegasus for quicker and better CSS-ing.
Pending
Needs engineering work to add to the build process.