mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
Update ViteBundler
This commit is contained in:
parent
8cbc855b0a
commit
a5695939d2
1 changed files with 10 additions and 5 deletions
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Stancl\Tenancy\Features;
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Stancl\Tenancy\Contracts\Feature;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
use Stancl\Tenancy\Vite;
|
||||
use Stancl\Tenancy\Contracts\Feature;
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Foundation\Vite as BaseVite;
|
||||
|
||||
class ViteBundler implements Feature
|
||||
{
|
||||
|
|
@ -19,8 +19,13 @@ class ViteBundler implements Feature
|
|||
$this->app = $app;
|
||||
}
|
||||
|
||||
public function bootstrap(Tenancy $tenancy): void
|
||||
public function bootstrap(): void
|
||||
{
|
||||
$this->app->singleton(\Illuminate\Foundation\Vite::class, Vite::class);
|
||||
$this->app->singleton(BaseVite::class, Vite::class);
|
||||
}
|
||||
|
||||
public static function alwaysBootstrap(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue