AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
839 stars 315 forks source link

Fix asset precompilation #3024

Closed mamhoff closed 4 weeks ago

mamhoff commented 4 weeks ago

What is this pull request for?

Fix asset precompilation in host apps with SassC in environments other than development. We were still using the old image-url Sass directive, whereas modern Sass/Sprockets can fingerprint assets referenced in URL directives directly.

Notable changes (remove if none)

Makes the current main branch deployable.

Screenshots

None :)

Checklist

codecov[bot] commented 4 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.47%. Comparing base (a13577a) to head (15a79fd). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3024 +/- ## ======================================= Coverage 96.47% 96.47% ======================================= Files 237 237 Lines 6404 6404 ======================================= Hits 6178 6178 Misses 226 226 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.