mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-05 15:56:44 +02:00
- use codeigniter-vite to manage static resources - update dependencies to latest closes #551
27 lines
606 B
PHP
27 lines
606 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniterVite\Config\Vite as CodeIgniterViteConfig;
|
|
|
|
class Vite extends CodeIgniterViteConfig
|
|
{
|
|
public string $environment = 'production';
|
|
|
|
public string $serverOrigin = 'http://localhost:5173';
|
|
|
|
public string $resourcesDir = 'resources';
|
|
|
|
public string $assetsDir = 'assets';
|
|
|
|
public string $manifest = '.vite/manifest.json';
|
|
|
|
public string $manifestCacheName = 'vite-manifest';
|
|
|
|
/**
|
|
* @var array<array{routes:list<string>,exclude?:list<string>,assets:list<string>}>
|
|
*/
|
|
public array $routesAssets = [];
|
|
}
|