Skip to content

Commit

Permalink
Merge pull request #70 from plfort/fix_getlegacyjsfile
Browse files Browse the repository at this point in the history
Fix #69 new entrypoint item shape in EntrypointsLookup::getLegacyJSFile
  • Loading branch information
lhapaipai authored Sep 28, 2023
2 parents 0ef2fe9 + 98148f4 commit e64bf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Asset/EntrypointsLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function getLegacyJSFile($entryName, $buildName = null): string

$legacyEntryName = $entryInfos['entryPoints'][$entryName]['legacy'];

return $entryInfos['entryPoints'][$legacyEntryName]['js'][0];
return $entryInfos['entryPoints'][$legacyEntryName]['js'][0]['path'];
}

private function throwIfEntryIsMissing(string $entryName, string $buildName = null): void
Expand Down

0 comments on commit e64bf36

Please sign in to comment.