FriendsOfShopware / shopware-cli

CLI for Shopware Account and Shopware 6
MIT License
84 stars 32 forks source link

enable_es_build_for_admin does not copy administration assets #417

Closed wannevancamp closed 3 weeks ago

wannevancamp commented 1 month ago

PHP Version

No response

Shopware Version

No response

Plugin Version

No response

Actual behaviour

When custom assets are added to src/Resource/app/administration/static/your-image.png, these should be copied to the src/Resources/public folder. The asset:installcommand will copy those from the src/Resources/public to the public/bundle folder.

When enable_es_build_for_admin is enabled the assets from src/Resource/app/administration/static/your-image.png are not copied to src/Resources/public.

Expected behaviour

Assets are copied to the public folder when using enable_es_build_for_admin

Steps to Reproduce?

1) Add custom administration asset 2) Enable enable_es_build_for_admin in shopware-extension.yml 3) Create a zip with shopware-cli extension zip 4) Public folder is empty

wannevancamp commented 3 weeks ago

Thanks a lot @shyim 👌