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
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 thesrc/Resources/public
folder. Theasset:install
command will copy those from thesrc/Resources/public
to thepublic/bundle
folder.When
enable_es_build_for_admin
is enabled the assets fromsrc/Resource/app/administration/static/your-image.png
are not copied tosrc/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