Styles are not generated with the static:content:deploy -s compact
Hello, our application should use a compact strategy during static-content:deploy -s compact.
Does your module support this strategy? As of now some specific styles now work after
bin/magento weltpixel:less:generate
bin/magento weltpixel:css:generate --store=STORE
Please note Magento Cloud use static-content:deploy -s compact by default
-
Official comment
Please check if the steps for the Magento cloud were followed:
The Magento Commerce Cloud installation process involves a couple of crucial steps to assure the LESS/CSS files for the Pearl Theme can be generated properly on the Magento Cloud read-only environment.
The most important of those steps is assuring the Commerce Cloud Patches have been applied as instructed in our installation guide. We have two such guides, depending on how the Magento Cloud environment is configured.
For Ideal State configurations:
How to Install the Pearl Theme on a Magento Cloud - Ideal State environment
https://support.weltpixel.com/hc/en-us/articles/360017233900-How-to-Install-the-Pearl-Theme-on-a-Magento-Cloud-Ideal-State-environmentFor configurations in which the SCD happens in the deploy phase:
How to install the Pearl Theme on Magento Commerce Cloud - using UNIX systems
https://support.weltpixel.com/hc/en-us/articles/115000614253-How-to-install-the-Pearl-Theme-on-Magento-Commerce-Cloud-using-UNIX-systemsPlease assure all the steps listed in these guides have been followed, and please try re-applying the Magento Commerce Cloud Patches as instructed in the Installation Guides listed above, depending on how your Magento Cloud environment is configured. Once the patch(es) are correctly applied, you should be able to regenerate the LESS/CSS files successfully.
Comment actions -
We have a project (NOT Magento Cloud.) where during the deployment process previously was a default quick strategy for static:content:deploy. Now due to performance issues, we changed it to compact strategy static:content:deploy -s compact
https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-static-deploy-strategies.html#static-file-compactAs I see this command generates different folders and files structure that as an example Weltpixel_FrontendOptions expected.
So my question is the - does Weltpixel support static:content:deploy -s compact or it should be only default quick strategy static:content:deploy ?
Please sign in to leave a comment.
Comments
2 comments