Skip to content

Moving from sass-rails v5, Different behavior with Sprockets::Asset#to_s #149

Open
@sshaw

Description

@sshaw

Hi,

In sass-rails v5 in development with config.assets.enabled = true one could access a compiled partial via Rails.application.assets["_something"].to_s. Under sassc-rails this returns the raw SCSS.

Is there any way to get the old behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions