Skip to content

Commit

Permalink
Fixed chunk lookup exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskleinschmidt committed Jul 6, 2023
1 parent 2f36397 commit ca43f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function __invoke(array|string $entries, string $buildDirectory = null):
}

foreach ($chunk['imports'] ?? [] as $key) {
$chunk = $this->chunk($manifest, $file);
$chunk = $this->chunk($manifest, $key);
$file = $chunk['file'];

if (! isset($preloads[$file])) {
Expand Down

0 comments on commit ca43f6b

Please sign in to comment.