Source: https://github.com/orgs/breezefront/discussions/384#discussioncomment-13690921
Usage example:
bin/magento breeze:layout:update --source=path_to_module --dest=path_to_module
bin/magento breeze:layout:update --source=vendor/swissup/module-askit
bin/magento breeze:layout:update --source=vendor/swissup/module-askit --dest=app/code/Swissup/BreezeAskit
bin/magento breeze:layout:update vendor/swissup/module-askit
It will scan the requirejs-config and js files, and add them to the breeze_default.xml. The tricky part is to add them in dependency order since Breeze is lame at runtime dependency resolving when bundling is enabled.
Source: https://github.com/orgs/breezefront/discussions/384#discussioncomment-13690921
Usage example:
It will scan the requirejs-config and js files, and add them to the breeze_default.xml. The tricky part is to add them in dependency order since Breeze is lame at runtime dependency resolving when bundling is enabled.