[ ] yes (bugfixes and features will not be merged without tests)
[x] no
Breaking Changes?
[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR introduces the display of the generated HTML size on disk. Gmail in particular has a message clipping threshold of 102kb. With these changes it's easy to see at a glance if an email template is exceeding that threshold when running email build. The email check command will now display errors (over the threshold) or warnings (near the threshold) for email template output.
Component / Package Name: jsx-email
This PR contains:
Are tests included?
Breaking Changes?
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR introduces the display of the generated HTML size on disk. Gmail in particular has a message clipping threshold of 102kb. With these changes it's easy to see at a glance if an email template is exceeding that threshold when running
email build
. Theemail check
command will now display errors (over the threshold) or warnings (near the threshold) for email template output.