mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +00:00
28 lines
537 B
PHP
28 lines
537 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Features;
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Foundation\Vite as BaseVite;
|
|
use Stancl\Tenancy\Contracts\Feature;
|
|
use Stancl\Tenancy\Vite;
|
|
|
|
class ViteBundler implements Feature
|
|
{
|
|
public function __construct(
|
|
protected Application $app
|
|
) {
|
|
}
|
|
|
|
public function bootstrap(): void
|
|
{
|
|
$this->app->singleton(BaseVite::class, Vite::class);
|
|
}
|
|
|
|
public static function alwaysBootstrap(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|