diff --git a/src/Asset/EntrypointRenderer.php b/src/Asset/EntrypointRenderer.php index d398324..4a2efb0 100644 --- a/src/Asset/EntrypointRenderer.php +++ b/src/Asset/EntrypointRenderer.php @@ -117,6 +117,7 @@ public function renderLinks(string $entryName, array $options = [], $buildName = $content[] = $this->tagRenderer->renderLinkPreload($fileWithHash['path'], [ 'integrity' => $fileWithHash['hash'], ], $buildName); + $this->returnedPreloadedScripts[] = $fileWithHash['path']; } } }