djaax/html-webpack-inline-style-plugin

juice configuration

webexmachina opened this issue · 0 comments

Just tested it for email generation, and works great as far as I can tell.
Could it be possible to include some options to configure the Juice call ? For example, I would like to preserve all the <style> tag instead of removing it, to allow hover or pseudo-elements properties to kicks in when the mail is viewed in a browser.
It's not currently possible because the removeStyleTags propertie of Juice is at true by default, and we can't alter it from the HtmlWebpackInlineStylePlugin instanciation