-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings in console of production #14
Comments
@SashaRudolf Yes, you have a good point. We run into similar issues when running it in production and clogs up our logs. How do you feel about just checking for the |
Yeah checking |
I'll see if I have some time this week to make the PR. |
It was supposed to be possible to disable these with something like: ReactHTMLEmail.configStyleValidator({
strict: false,
warn: process.NODE_ENV === 'production',
}) However it appears that there is a bug where the value of |
@Roilan @chromakode Sounds awesome, anyone had any time to work on this? |
Fixed in v1.1.0 👍 |
I have a series of errors coming from some padding on a span, and some other minor warnings. However, I am fine with those styles not being rendered.
Could we add a config variable that would disable the warnings in production?
The text was updated successfully, but these errors were encountered: