getFileName(), '.js') && !strpos($file->getFileName(), '.json')) {
if (str_contains($file->getFileName(), 'index.')) {
$includes .= ''."\n";
} else {
$includes .= ''."\n";
}
}
if (str_contains($file->getFileName(), '.css')) {
$includes .= ''."\n";
}
}
file_put_contents(resource_path('views/react/head.blade.php'), $includes);
}
}