[8.x] Unified asset publishing (#5654)

* [8.x] Unified asset publishing

* Update composer.json

Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
Igor Finagin 2021-07-29 16:04:43 +03:00 committed by GitHub
parent 54c0b5bc52
commit d286a15b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],