diff --git a/composer.json b/composer.json index 2a818cffa999..09bdcb267d22 100644 --- a/composer.json +++ b/composer.json @@ -98,10 +98,12 @@ }, "scripts": { "post-install-cmd": [ + "rm bootstrap/cache/compiled.php || true", "php artisan clear-compiled", "php artisan optimize" ], "post-update-cmd": [ + "rm bootstrap/cache/compiled.php || true", "php artisan clear-compiled", "php artisan optimize" ],