Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

postcss-warn-cleaner

Package Overview
Dependencies
2
Maintainers
2
Versions
8
Issues
File Explorer

Advanced tools

postcss-warn-cleaner

Selectively remove postcss warnings from logs.

    0.1.9latest
    GitHub

Version published
Maintainers
2
Weekly downloads
753
increased by4.15%

Weekly downloads

Readme

Source

postcss-warn-cleaner

Greenkeeper badge JavaScript Style Guide Build Status

Selectively remove PostCSS warnings from your logs. For example, you may choose to ignore autoprefixer warnings resulting from third-party vendor libraries.

Installation

$ npm install postcss-warn-cleaner

Options

{ ignoreFiles: false }
ignoreFiles

Set files from which to ignore warnings.

Accepted Values
  • Glob
  • {Array} of globs
Examples
// Example: Single glob warnCleaner({ ignoreFiles: '**/node_modules/**/*' }) // Example: Array of globs warnCleaner({ ignoreFiles: [ '**/node_modules/**/*', '**/bower_components/**/*' ] })

Webpack Example

var warnCleaner = require('postcss-warn-cleaner') module.exports = { module: { loaders: [ { test: /\.css$/, loader: 'style!css!postcss' }, }], }, postcss: [ warnCleaner({ ignoreFiles: '**/node_modules/**/*' }) ] }

Keywords

FAQs

Last updated on 17 Apr 2017

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc