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:
@@ -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)');
|
||||
|
||||
Reference in New Issue
Block a user