deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Magento 2: Add Support For --no-parent

Open sprankhub opened this issue 3 years ago • 1 comments

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.

sprankhub avatar Apr 27 '22 12:04 sprankhub

This is fixed by https://github.com/deployphp/deployer/pull/3326.

sprankhub avatar Oct 02 '22 19:10 sprankhub