Skip to content

Commit

Permalink
Merge branch 'main' into feat/console/more-components
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi authored Dec 23, 2024
2 parents c086fbd + 08df98c commit 23b0fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Tempest/Vite/src/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public function setNonce(string $nonce): void
*/
public function getTags(?array $entrypoints = null): array
{
return $this->getTagsResolver()->resolveTags($entrypoints ?? $this->viteConfig->build->entrypoints);
return $this->getTagsResolver()->resolveTags(
array_filter($entrypoints ?: []) ?: array_filter($this->viteConfig->build->entrypoints ?: []),
);
}

/**
Expand Down

0 comments on commit 23b0fb6

Please sign in to comment.