Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Compiler.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3215,7 +3215,7 @@ public function findImport($url)
// for "normal" scss imports (ignore vanilla css and external requests)
if (! preg_match('/\.css$|^https?:\/\//', $url)) {
// try both normal and the _partial filename
$urls = [$url, preg_replace('/[^\/]+$/', '_\0', $url)];
$urls = [$url, preg_replace('/[^\/]+$/', '_\0', $url), $url.'.css'];
}

foreach ($this->importPaths as $dir) {
Expand Down