Fix asset publishing if they were already published (#5734)

Thank you @sebdesign for the fix.
This commit is contained in:
Micheal Mand
2021-11-24 19:07:41 -07:00
committed by GitHub
parent 901879dd68
commit e35899f0aa

View File

@@ -38,7 +38,7 @@
"@php artisan package:discover --ansi" "@php artisan package:discover --ansi"
], ],
"post-update-cmd": [ "post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi" "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
], ],
"post-root-package-install": [ "post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""