1.0.0 • Published 8 years ago

postcss-at-warn v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

postcss-at-warn Build Status NPM version Dependency Status

@warn for PostCSS.

Install

With npm do:

npm install postcss-at-warn --save

Example

.mistyrose {
    @warn ".mistyrose has been deprecated, please use .rebeccapurple";
    color: mistyrose;  
}

When this file is processed, the @warn directive will be removed from the file and the message printed to the console.

API

atWarn(options)

options

silent

Type: boolean
Default: false

Set this to true to use your own logger for the output of this module.

Usage

See the PostCSS documentation for examples for your environment.

Contributors

Thanks goes to these wonderful people (emoji key):

Ben Briggs💻 📖 👀 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © Ben Briggs