Skip to content

Commit

Permalink
Resolving leafo#402.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-todorov committed Jan 18, 2016
1 parent a27edad commit bd9f1aa
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit bd9f1aa

Please sign in to comment.