Giter VIP home page Giter VIP logo

Comments (11)

max-b-old avatar max-b-old commented on May 21, 2024

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.

Keats avatar Keats commented on May 21, 2024

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.

max-b-old avatar max-b-old commented on May 21, 2024

So I can simply build a grunt script for automatically doing this in codeship before deploy.

from zola.

Keats avatar Keats commented on May 21, 2024

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.

Keats avatar Keats commented on May 21, 2024

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.

Keats avatar Keats commented on May 21, 2024

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.

Keats avatar Keats commented on May 21, 2024

For the latest update: compass-rs/sass-rs#11

cc @reillysiemens since you are interested in that feature

from zola.

JabZuda avatar JabZuda commented on May 21, 2024

Could something like rsass, as used in ructe's static-sass example work here?

from zola.

Keats avatar Keats commented on May 21, 2024

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.

pkgw avatar pkgw commented on May 21, 2024

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.

Keats avatar Keats commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.