Skip to content

Commit

Permalink
Hand ovr async status to ReadOnlyBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Sep 19, 2023
1 parent 9bb4b60 commit 90df3f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BundleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ public function compile(string $bundle, string $type): Bundle
$assets[] = $this->storage->store($name, $asset);
}

$output = new ReadOnlyBundle($bundle->getName().$type, ... $assets);
$output = new ReadOnlyBundle($bundle->getName().$type, ...$assets);
$output->setCookieConsent($bundle->getCookieConsent());
$output->setDeferred($bundle->isDeferred());
$output->setAsync($bundle->isAsync());
$output->setBasePath($this->basePath);
$output->setWwwDir($this->wwwDir);

Expand Down

0 comments on commit 90df3f3

Please sign in to comment.