Skip to content

Commit

Permalink
clean up service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
eminos committed Nov 6, 2023
1 parent 5d64896 commit 3e7ee38
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,16 @@

class ServiceProvider extends AddonServiceProvider
{

public function __construct()
{
$this->vite['hotFile'] = base_path('vendor/eminos/statamic-tabs/dist/vite.hot');

parent::__construct(app());
}

protected $fieldtypes = [
TabFieldtype::class,
];

// protected $tags = [
// IconifyTag::class,
// ];

protected $vite = [
'hotFile' => null, // set in the constructor for reasons
'hotFile' => __DIR__ . '/../dist/vite.hot',
'publicDirectory' => 'dist',
'input' => [
'resources/js/statamic-tabs.js',
'resources/css/statamic-tabs.css'
],
];

public function bootAddon()
{

//

}
}

0 comments on commit 3e7ee38

Please sign in to comment.