My React app is currently using ReactDOMServer.renderToStaticMarkup
to generate HTML emails.
The problem I'm having with ReactDOMServer.renderToStaticMarkup
is that it converts small images (under 12kb) from a image src URL to an inline image. This is resulting in images having attachments which is undesirable.
How can I configure ReactDOMServer.renderToStaticMarkup to not inline small images under (12kb)?