Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-filter-warnings-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-filter-warnings-plugin

Allows you to hide certain warnings from webpack compilations

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1M
decreased by-4.7%
Maintainers
1
Weekly downloads
 
Created

What is webpack-filter-warnings-plugin?

The webpack-filter-warnings-plugin is an npm package designed to help developers filter out unwanted warnings from the webpack compilation process. This can be particularly useful in large projects where certain warnings are known and benign, allowing developers to focus on more significant issues.

What are webpack-filter-warnings-plugin's main functionalities?

Filter specific warnings

This feature allows developers to exclude specific warnings from the webpack output by using regular expressions. In the provided code sample, the plugin is configured to exclude warnings that match the regular expression related to critical dependency warnings.

const FilterWarningsPlugin = require('webpack-filter-warnings-plugin');

module.exports = {
  plugins: [
    new FilterWarningsPlugin({
      exclude: /Critical dependency: the request of a dependency is an expression/
    })
  ]
};

Other packages similar to webpack-filter-warnings-plugin

Keywords

FAQs

Package last updated on 25 Nov 2018

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc