We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4138fac commit 08df98cCopy full SHA for 08df98c
src/Tempest/Vite/src/Vite.php
@@ -47,7 +47,9 @@ public function setNonce(string $nonce): void
47
*/
48
public function getTags(?array $entrypoints = null): array
49
{
50
- return $this->getTagsResolver()->resolveTags($entrypoints ?? $this->viteConfig->build->entrypoints);
+ return $this->getTagsResolver()->resolveTags(
51
+ array_filter($entrypoints ?: []) ?: array_filter($this->viteConfig->build->entrypoints ?: []),
52
+ );
53
}
54
55
/**
0 commit comments