Skip to content

Commit c0618cf

Browse files
committed
Adding change from upstream change
1 parent 5ef0727 commit c0618cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/AssetMapper/ImportMap/ImportMapManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public function downloadMissingPackages(): array
141141
$this->downloadPackage(
142142
$entry->importName,
143143
$this->httpClient->request('GET', $entry->url)->getContent(),
144+
str_ends_with($entry->url, '.css') ? ImportMapType::CSS : ImportMapType::JS,
144145
);
145146

146147
$downloadedPackages[] = $entry->importName;

0 commit comments

Comments
 (0)