Skip to content

asset_url helpers don't work #18

Closed
@ssalzberg

Description

@ssalzberg

In switching over from sass-rails to dartsass-rails, I noticed the asset path helpers no longer work. In development mode, something like this works fine:

div {
    background-image: url("path/in/assets/to/image.jpg");
}

but in production, neither that nor this works:

div {
    background-image: asset-url("path/in/assets/to/image.jpg");
}

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