Skip to content

Commit e8eb43a

Browse files
author
Mastiuhin Olexandr
committed
MC-25036: Marketing Email preview doesn't work with enabled js minification
1 parent 902d74d commit e8eb43a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/Email/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"magento/module-config": "*",
1313
"magento/module-store": "*",
1414
"magento/module-theme": "*",
15+
"magento/module-require-js": "*",
1516
"magento/module-media-storage": "*",
1617
"magento/module-variable": "*"
1718
},

app/code/Magento/Email/view/adminhtml/layout/adminhtml_email_template_preview.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<argument name="preview_form_view_model" xsi:type="object">Magento\Email\ViewModel\Template\Preview\Form</argument>
1818
</arguments>
1919
</block>
20+
<block class="Magento\RequireJs\Block\Html\Head\Config" name="requirejs-config"/>
2021
</referenceContainer>
2122
</body>
2223
</page>

0 commit comments

Comments
 (0)