Comments (11)
You can use also npm/yarn for minify css / javascript / image / html and using critical for the above the fold css. Doing so you can reach 100/100 in google test for mobile and desktop speed...wich is good doing sites for customers
from zola.
I agree that it can be useful to have a pipeline setup but for a large chunk of cases, just having scss is enough. I don't minify HTML or JS (if I have any JS) for my static sites, I compress images manually when I add them so for my own cases just having Sass built-in will allow me to not worry about npm/yarn at all.
Ideally gutenberg could have a complete pipeline built-in but I'm a bit afraid of how much it would bloat it
from zola.
So I can simply build a grunt script for automatically doing this in codeship before deploy.
from zola.
Yep you're still free to have your own pipeline, I just want my usecase to not require node anymore :p
There are bindings at https://github.com/compass-rs but it doesn't seem updated/finished so it would need checking it what's needed for those crates to be usable (if something is needed).
from zola.
I updated sass-sys and sass-rs to the latest version (wip at https://github.com/Keats/sass-rs/tree/merge-sys) but it doesn't work on Windows. My only access to Windows is appveyor (https://ci.appveyor.com/project/Keats/sass-rs) so it is very frustrating to debug, not to mention I don't know anything about Windows.
If anyone is on Windows and can help debugging the branch above, that'd be great.
from zola.
Note that the last commit on https://github.com/Keats/sass-rs/tree/merge-sys can be reverted, I was just trying to use mingw instead of VS to see if that would work
from zola.
For the latest update: compass-rs/sass-rs#11
cc @reillysiemens since you are interested in that feature
from zola.
Could something like rsass, as used in ructe's static-sass example work here?
from zola.
Whoa didn't see ructe or rsass. I think rsass if it catches up to libsass will definitely be used in the future but it seems like it's not complete enough right now.
from zola.
You can download short-term but full-featured Windows VMs from Microsoft here. I've found them great for working on Windows problems — I've had the same experience of going nuts trying to figure things out via a painfully slow Appveyor debugging cycle.
from zola.
Yeah I've done that before but the process was still painful on my old laptop. Thanks for the comment though!
Sass support seems to work for OSX and Linux now looking at the next
branch but there are still issues with OSX and Windows: compass-rs/sass-rs#12
from zola.
Related Issues (20)
- Feature request: tags for zola themes
- Hope provide Linux musl pre-builds , even if it's slow. HOT 4
- BibTeX: load_data fails on non-numeric values in the "month" field HOT 5
- Section that is nested under a page takes file path instead of URL path HOT 4
- Multilang index.md results in Error: We can't have a page called `index.md` in the same folder as an index section in HOT 3
- get_url returns url for wrong language HOT 2
- Stack overflow when blog count is too high HOT 10
- Feature request: build datetime HOT 4
- Add support for relative links (../content/page) to broken link checker HOT 9
- `zola serve`: option to store html files on disk. HOT 1
- "`feed_filename` for default language is specified twice" even though it's not HOT 4
- Allow loading front matter in templates HOT 6
- Add OPDS Support to Zola HOT 2
- Docker image for 0.18.0 is broken HOT 9
- Dark mode for docs? HOT 1
- Feature request: Add `hidden` property for frontmatter HOT 10
- how to create root pages HOT 1
- next/previous pages are in the wrong order HOT 1
- [Feature Request] Include page date in the search index HOT 1
- Theme translations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zola.