Skip to content

Commit

Permalink
set correct condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan Berezhniy committed Nov 18, 2024
1 parent 095ccff commit 6d3ae05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/Deploy/Package/Bundle/RequireJsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public function __construct(
*/
public function aroundAddFile(RequireJs $subject, callable $proceed, $filePath, $sourcePath, $contentType)
{
$jsOptimization = $this->config->isEnabled() && $this->config->isBundlingOptimizationEnabled();

$jsOptimization = $this->config->isBundlingEnabled() && $this->config->isEnabled();
if ($jsOptimization) {
$allowedFiles = $this->getAllowedFiles();

Expand Down

0 comments on commit 6d3ae05

Please sign in to comment.