2

Since version 2.2, static-content:deploy for a theme will generate themes not specified using the --theme flag.
So before in 2.1.x I would generate a theme for 3 languages and get exactly 3 themes. Now I get 12.

Is there a setting I am missing or is it a new "feature"?

The command I am running it with is:

magento setup:static-content:deploy --theme My/theme de_DE en_US fr_FR -f
  • could you show your command? – Rakesh Jesadiya Nov 9 '17 at 8:43
  • its create extra theme because your current theme depends on luma theme – Rakesh Jesadiya Nov 9 '17 at 9:23
  • I figured so, but in 2.1.x it didn't need to. – Domeglic Nov 9 '17 at 9:27
0

Initially, I thought Luma was required and this issue vexed me also. So I reworked my Theme from blank and specifically did not depend on, use, mention, call out Luma in any way. And it was still being generated. I poured over everything I could find and this works for me:

php bin/magento setup:static-content:deploy -f --exclude-theme="Magento/luma"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.