Max
Max
Should work. There is no html injection. Content is added via `html::before { content:"...`. Do you have any message reported by postcss-reporter? Because this won't add a thing if not.
Oh your forgot the parenthesis, that might be the reason ``` require('postcss-browser-reporter'), ``` Try instead ``` require('postcss-browser-reporter')(), ```
It's written in the doc https://github.com/postcss/postcss-browser-reporter#selector-string-default-htmlbefore. Inspect that another stronger selector is not using this already.
+1. I plan to integrate messages api in cssnext soon and I will really need to get both methods at the same time :)
+1 for clearWarnings. Maybe @davidclark could do the same for postcss-log-warnings.
Should be the responsibility of another plugin.
If one of the provided callback for `url` option doesn't work for you, you can always use a custom function https://github.com/postcss/postcss-url#url-function
One other (simple) idea: Enhance your CSS.
(reminder: most people don't write plugin and probably don't give a shit about the fact that it use js - most people use Sass these days, which is in ruby...
- "Choose your CSS flavor" - "Choose your CSS superpowers" (and that's a nice reference, Sass should be flattered). - "Make your own CSS flavor".