deployer
deployer copied to clipboard
Magento 2: Add Support For --no-parent
https://github.com/magento/magento2/pull/30090 added support for a new --no-parent flag for static content deployment. https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-static-view.html#config-cli-subcommands-staticview recommends using it:
Do not generate files for the parent themes of the current theme. It is strongly recommended to use this flag if you do not explicitly use the parent theme of the current theme you are trying to deploy. This will significantly increase the speed of the process. This flag is available in Magento 2.4.2
We should at least have an option to enable it. Probably it should be disabled by default to not break existing systems.
This is fixed by https://github.com/deployphp/deployer/pull/3326.