GithubHelp home page GithubHelp logo

Comments (4)

schneems avatar schneems commented on August 19, 2024

Ahh, it looks like those things got taken out in sprockets 4.x here's the 3.x branch https://github.com/rails/sprockets/blob/3.x/lib/sprockets/sass_template.rb

Any ideas on backwards compatibility changes for sprockets 4? I kinda fell into this maintainer role, there's lots of catching up to do. I think instead of using SassTemplate we can directly use SassProcessor

from sassc-rails.

bolandrm avatar bolandrm commented on August 19, 2024

That sounds like a reasonable place to start, although for now I'd like to at least maintain support for sprockets 2 / 3 as well.

As far as future compatibility goes, there was a push to get LibSass integrated into sprockets and the default sass-rails (rails/sass-rails#349). This will be a lot easier for me to finish once we get to upgrading our project to Rails 5 / sprockets 4.

from sassc-rails.

schneems avatar schneems commented on August 19, 2024

I'm working to add deprecations for all of these code points in sprockets 3 right now. I've got some ideas on a patch that would work for this to work with sprockets 2, 3 & 4 (all of which are currently supported via me currently).

from sassc-rails.

schneems avatar schneems commented on August 19, 2024

What I think I would like to do for Sprockets 4 is to fix the built in ScsscProcessor and support sassc natively inside of the sass-rails gem, we probably want to encourage people to use sassc over ruby sass due to speed improvements. I see you've contributed to the processors a bit, if you have some time to take a look at the failure rails/sprockets#323 (comment) I would appreciate it. It's very slow going for me since it's an area of the code i've never touched before.

from sassc-rails.

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.