Deduplicate CDN assets by URL in bundle compiler

Unify CDN asset collection between dev and prod modes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-01-14 23:25:10 +00:00
parent 2711c60284
commit e389093a0a
2 changed files with 26 additions and 97 deletions

View File

@@ -132,19 +132,9 @@ class Prod_Build_Command extends Command
if (!$this->option('skip-laravel-cache')) {
$this->line('[3/3] Building Laravel caches...');
passthru('php artisan config:cache 2>/dev/null', $exit_code);
passthru('php artisan optimize:cache 2>/dev/null', $exit_code);
if ($exit_code === 0) {
$this->line(' Config cached');
}
passthru('php artisan route:cache 2>/dev/null', $exit_code);
if ($exit_code === 0) {
$this->line(' Routes cached');
}
passthru('php artisan view:cache 2>/dev/null', $exit_code);
if ($exit_code === 0) {
$this->line(' Views cached');
$this->line(' Laravel caches built');
}
} else {
$this->line('[3/3] Skipping Laravel caches (--skip-laravel-cache)');