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

ignore-not-found-export-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore-not-found-export-webpack-plugin

Ignore webpack export not found warnings

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

IgnoreNotFoundExportPlugin Build Status

Ignore webpack export not found warnings

Install

npm install --save-dev ignore-not-found-export-webpack-plugin

or

yarn add --dev ignore-not-found-export-webpack-plugin

Usage

:warning: This plugin can remove useful info about missing imports, which might deteriorate the development experience. Be careful with how you configure this plugin.

const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin');

module.exports = {
  plugins: [new IgnoreNotFoundExportPlugin(options)],
  // ...
};

API

IgnoreNotFoundExportPlugin([options])

options

Type: Object

include

Type: RegExp|RegExp[]
Default: /./ (allow any path)

A regular expression or an array of regular expressions of import paths to include.

Example:

  • [/\.tsx?$/]: ignore warnings only for imported .ts or .tsx files. Useful if re-exporting TypeScript interface (reference: webpack#7378, ts-loader#653)

Credit

@Strate for the idea and initial implementation.

License

MIT © Marko Grešak

Keywords

FAQs

Package last updated on 12 Feb 2021

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