You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

postcss-warn-cleaner

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-warn-cleaner

Selectively remove postcss warnings from logs.


Version published
Weekly downloads
410
decreased by-38.9%
Maintainers
2
Created
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

Package last updated on 17 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc