Skip to content

Commit

Permalink
Fix using vite packages when they're ignored from compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers authored Jan 8, 2025
1 parent 3255d4a commit 4d73e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/classes/asset/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __invoke($entrypoints, $package = null)
// Normalise the package name
$package = strtolower($package);

if (!($compilableAssetPackage = PackageManager::instance()->getPackages('vite')[$package] ?? null)) {
if (!($compilableAssetPackage = PackageManager::instance()->getPackages('vite', true)[$package] ?? null)) {
throw new SystemException('Unable to resolve package: ' . $package);
}

Expand Down

0 comments on commit 4d73e16

Please sign in to comment.