-
Notifications
You must be signed in to change notification settings - Fork 166
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
Slate Docker image v2.11.0 does not seem to use SassC, very slow CSS render. #1517
Comments
While using sassc would be ideal, it is not API compatible with the sass gem and that migration does not seem to be simple (see #1368 for some details). I'm not a user knowledgable Ruby developer, so happy to accept a PR on this, but not something I would be implementing, especially in favor of furthering work on slate v3 where we move to a JS based solution. |
Hey @MasterOdin thanks a lot for quick reply. Understood. Any idea how to speed up the css loads with the current version? Apart from obvious caching on the edge servers. |
The intention is that you would only use If you really needed to use |
Sorry, what do you mean by Yeah, I've actually tried that, but failed so far, seems the scss files always pop back in. Need to spend some more time on this one. |
See https://github.com/slatedocs/slate/wiki/Using-Slate-in-Docker#building-slate for building Slate with Docker. After running it, you will see the built artifacts in that build directory that was mounted into the container. I've updated the article to hopefully make that clearer. |
Bug Description
I'm running the vanilla v2.11.0 from the Docker repo and it's not using SassC to compile the css and it is extremely slow.
$ docker run --rm --name slate -p 4567:4567 -v $(pwd)/src:/srv/slate/source slatedocs/slate:v2.11.0 serve
== The Middleman is loading
== Sprockets will render css with ruby sass
consider using Sprockets 4.x to render with SassC
Screenshots
Is this by design or is this a bug?
The text was updated successfully, but these errors were encountered: