Skip to content

Commit 90b29e1

Browse files
committed
(refactor): use fqcn for vite classes
1 parent 406aa5c commit 90b29e1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/helpers.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
namespace Yard\SageChildThemeSupport;
66

7-
use Illuminate\Foundation\Vite as FoundationVite;
8-
97
use Roots\Acorn\Bootloader;
10-
use Yard\SageChildThemeSupport\Assets\Vite;
118

129
function bootloader(): Bootloader
1310
{
@@ -21,7 +18,10 @@ function bootloader(): Bootloader
2118
\Yard\SageChildThemeSupport\Console\Kernel::class
2219
);
2320

24-
$bootloader->getApplication()->alias(Vite::class, FoundationVite::class);
21+
$bootloader->getApplication()->alias(
22+
\Yard\SageChildThemeSupport\Assets\Vite::class,
23+
\Illuminate\Foundation\Vite::class
24+
);
2525

2626
return $bootloader;
2727
}

0 commit comments

Comments
 (0)