- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker - Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor - Update view templates to use vendor paths instead of old /js/ or CDN URLs - Clean up legacy commented-out scripts in master layout
19 lines
399 B
PHP
19 lines
399 B
PHP
<?php
|
|
|
|
namespace Spatie\LaravelIgnition\FlareMiddleware;
|
|
|
|
use Spatie\FlareClient\FlareMiddleware\FlareMiddleware;
|
|
use Spatie\FlareClient\Report;
|
|
|
|
class AddNotifierName implements FlareMiddleware
|
|
{
|
|
public const NOTIFIER_NAME = 'Laravel Client';
|
|
|
|
public function handle(Report $report, $next)
|
|
{
|
|
$report->notifierName(static::NOTIFIER_NAME);
|
|
|
|
return $next($report);
|
|
}
|
|
}
|