Skip to content

Commit

Permalink
feat: support multiple css file extensions in development (#213)
Browse files Browse the repository at this point in the history
Co-authored-by: Enzo Innocenzi <enzo@innocenzi.dev>
  • Loading branch information
NeonGC and innocenzi authored Feb 27, 2022
1 parent ff18d7d commit 1de0d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ protected function createDevelopmentTag(string $path): string
{
$url = Str::of($this->config('dev_server.url'))->finish('/')->append($path);

if (Str::endsWith($path, '.css')) {
if (Str::endsWith($path, ['.css', '.scss', '.sass', '.less', '.styl', '.stylus'])) {
return $this->tagGenerator->makeStyleTag($url);
}

Expand Down

0 comments on commit 1de0d72

Please # to comment.