Skip to content

Replace asset-url with url in Sass files#3698

Open
jacob-carlborg-apoex wants to merge 1 commit intorailsadminteam:masterfrom
jacob-carlborg-apoex:asset-url
Open

Replace asset-url with url in Sass files#3698
jacob-carlborg-apoex wants to merge 1 commit intorailsadminteam:masterfrom
jacob-carlborg-apoex:asset-url

Conversation

@jacob-carlborg-apoex
Copy link

Both Sprockets and Propshaft will replace url with a digested version [1]. This change allows to use these Sass files with other Sass implementations like, Dartsass [2].

This also helps with: #3697.

[1] rails/dartsass-rails#18 (comment)
[2] https://github.com/rails/dartsass-rails

Both Sprockets and Propshaft will replace `url` with a digested
version [1]. This change allows to use these Sass files with other
Sass implementations like, Dartsass [2].

[1] rails/dartsass-rails#18 (comment)
[2] https://github.com/rails/dartsass-rails
@jacob-carlborg-apoex
Copy link
Author

@mshibuya
Copy link
Member

Note: support for url was added from sprockets-rails 3.3.0.
rails/sprockets-rails#476

@mshibuya mshibuya added this to the 4.0.0 milestone Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants