Registry / devops / ignore-not-found-export-webpack-plugin

ignore-not-found-export-webpack-plugin

JSON →
library1.0.2jsnpmunverified

Webpack plugin to suppress 'export not found' or 'ModuleDependencyWarning' warnings, commonly used when re-exporting TypeScript interfaces or other type-only exports that webpack cannot resolve. Current stable version 1.0.2 supports webpack >=4.0.0. The plugin is lightweight, with simple configuration via include/exclude patterns. It is a niche solution for a specific webpack warning noise issue, lacking active maintenance (last release 2020). Key differentiator: it targets a specific warning type, unlike general warning suppression plugins.

npm install ignore-not-found-export-webpack-plugin
INSTALL
IMPORT
SIG · IGNORE-NOT-FOUND-E
I
ignore-not-found-export-webpack-plugin
devopsjavascriptv1.0.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IgnoreNotFoundExportPlugin
const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin');
import IgnoreNotFoundExportPlugin from 'ignore-not-found-export-webpack-plugin';
This package does not export ESM; use CommonJS require.
IgnoreNotFoundExportPlugin
module.exports = { plugins: [new IgnoreNotFoundExportPlugin({ include: /\.tsx?$/ })] };
module.exports = { plugins: [IgnoreNotFoundExportPlugin({ include: /\.tsx?$/ })] };
Must use 'new' keyword when instantiating the plugin.
IgnoreNotFoundExportPlugin
const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin');
const { IgnoreNotFoundExportPlugin } = require('ignore-not-found-export-webpack-plugin');
The package exports a single constructor, not a named export.

Suppresses 'export not found' warnings for TypeScript files in webpack config.

const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js' }, plugins: [ new IgnoreNotFoundExportPlugin({ include: [/\.tsx?$/] }) ] };
Debug
Known issues
gotchaPlugin may suppress useful warnings about missing imports, potentially hiding real issues.
fix
Use include option to limit suppression to specific file types (e.g., TypeScript interfaces).
affects: >=1.0.0
deprecatedPackage last updated in 2020; using webpack 5 may require alternative approaches.
fix
Consider using webpack's built-in 'ignoreWarnings' option (webpack 5) or other custom plugin.
affects: 1.0.2
gotchaDoes not work with ESM imports; requires CommonJS require for import.
fix
Use require() instead of import statement.
affects: >=1.0.0
Errors
Common errors & fixes
TypeError: IgnoreNotFoundExportPlugin is not a constructor
Using ES module import syntax or destructuring require incorrectly.
fix
Use `const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin');` then `new IgnoreNotFoundExportPlugin(...)`.
Warnings are still shown even after adding plugin
The include/exclude pattern does not match the warning source.
fix
Check the exact path of the file causing warnings; adjust the regex in `include` option. For absolute paths, use a regex like `/.\/src\/.*\.ts$/`.
Cannot find module 'ignore-not-found-export-webpack-plugin'
Package not installed; missing from node_modules.
fix
Run `npm install --save-dev ignore-not-found-export-webpack-plugin`.
Upgrade
Version history
1.0.2latest on npm
Audit
Dependencies
webpackrequiredPeer dependency required to function as a webpack plugin.
Agent activity
6 hits · last 30 days
node
6
Resources
ignore-not-found-export-webpack-plugin — npm install ignore-not-found-export-webpack-plugin · libregistry