PostCSS plugin to display warning messages right in your browser.
If a plugin before this one is throwning a warning, this plugin will append warning messages to html:before
.
Usage
Put this plugin after all plugins if you want to cover all possible warnings:
Options
selector
({String}
, default: html::before
)
You can override selector that will be used to display messages:
var messages =
styles
({Object}
, default: opininated styles)
You can override default styles applied to the selector:
var messages =
See PostCSS docs for examples for your environment.
License
The MIT License