Change composer post-autoload-dump script to Artisan command (#6647)

* Change composer post-autoload-dump script to optimize:clear

* Changing to config:clear and clear-compiled
This commit is contained in:
Luke Spencer
2025-08-03 15:58:20 +01:00
committed by GitHub
parent 902200e7aa
commit a4d121f5e4

View File

@@ -33,7 +33,8 @@
}, },
"scripts": { "scripts": {
"post-autoload-dump": [ "post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan config:clear",
"@php artisan clear-compiled",
"@php artisan package:discover --ansi" "@php artisan package:discover --ansi"
], ],
"post-update-cmd": [ "post-update-cmd": [