shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
898 stars 28 forks source link

fix(tailwind): add prefix to production class names #111

Closed affanshahid closed 6 months ago

affanshahid commented 6 months ago

Component / Package Name: jsx-email (Tailwind)

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: resolves #110

Description

This PR adds a prefix to the class names generated by the class compiler transformer. This is to ensure that the class names generated, which may begin with a number, do not need to be escaped in the generated CSS, thus increasing compatibility with gmail clients

lordelogos commented 6 months ago

Thanks for this PR.

This is ready to go @shellscape