<p dir="auto">There are two options for combining stylesheets, using sprockets (via <code class="notranslate">require</code> statements) or using sass (via <code class="notranslate">@import</code> statements).</p>
<p dir="auto">This commit switches to using <code class="notranslate">@import</code> statements throughout, to avoid a bug with libsass that prevents us from using bootstrap 5.2+</p>
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1328968360" data-permission-text="Title is private" data-url="https://github.com/sass/sassc-rails/issues/174" data-hovercard-type="issue" data-hovercard-url="/sass/sassc-rails/issues/174/hovercard" href="https://github.com/sass/sassc-rails/issues/174">sass/sassc-rails#174</a></p>
<p dir="auto">Since R2 is not triggered when <code class="notranslate">@import</code>ing a file, we need to switch the top-level stylesheet names to include the extension. We can also take the opportunity to remove a level of indirection, along with removing symlinks which cause problems on some platforms.</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1636732818" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3984" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3984/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3984">#3984</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1104345491" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3422" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3422/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3422">#3422</a></li>
</ul>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4088'>https://github.com/openstreetmap/openstreetmap-website/pull/4088</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/commits/e108ec6d48e4e2ec5f7c6451fde7328adcb1c7cd" class="commit-link">e108ec6</a> Avoid using sprockets for combining stylesheets</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files">11 files</a>)</p>
<ul>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-3d94871c01d8afc9f7f008c3a85821d898ebdf79bce860d0b49f31e9caa72162">app/assets/stylesheets/ltr/common.scss</a>
(1)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-f1dfbd598872b496e9ecc930afe25cd3732746f159626d470d2b9535fd017266">app/assets/stylesheets/print-ltr.css</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-2beb1257859598d23e0a2f24d2490c52f2b58607dca8533e6ab8a006cb233f87">app/assets/stylesheets/print-ltr.scss</a>
(1)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-125ba47e8b81d85cc0f8eda46cbfbd5d848c435b245a47d84075debe34289bd2">app/assets/stylesheets/print-rtl.css</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-3ee6731121b62a01aedeee5760d1a6faf8d19ad5b8c86e30c1c2e64f01007b65">app/assets/stylesheets/print-rtl.r2.scss</a>
(1)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-fa5c6fa3fe725cd20fd8f42d8dc47d0719e073ceeb6947380102831498929f1a">app/assets/stylesheets/print.scss</a>
(0)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-e33751e4e8d1572cce5dad0954619847a134a1473bf928936868eeac0919550c">app/assets/stylesheets/rtl/common.r2.scss</a>
(1)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-c9266aff2f078dec54cfab944e55552a30f6a2fea5f7a3a6beb52376356094e4">app/assets/stylesheets/screen-ltr.css</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-696de97d252c66e034ff8c9cf59ffb3675680e7c0d076468f43797273b7be118">app/assets/stylesheets/screen-ltr.scss</a>
(1)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-3df7464fd7ca73ca4571a4a773afa81fcb81e30057cbb4b58f9cd29ddcd49a3e">app/assets/stylesheets/screen-rtl.css</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088/files#diff-7e2ad9ae2a6ec70f4080027865f3cc9b1d43905b336859ebc00fd96bae5e3258">app/assets/stylesheets/screen-rtl.r2.scss</a>
(1)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4088.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4088.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4088.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4088.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4088">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJAWIANS2LE65NICQTXP3JOPANCNFSM6AAAAAA2HYSVGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPHQV7IXWNJ7DNLAU3XP3JOPA5CNFSM6AAAAAA2HYSVGOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGWXX6QE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4088</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4088",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4088",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>