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-pluginVerified import paths — ran on the pinned version, not inferred.
Suppresses 'export not found' warnings for TypeScript files in webpack config.
Use include option to limit suppression to specific file types (e.g., TypeScript interfaces).
Consider using webpack's built-in 'ignoreWarnings' option (webpack 5) or other custom plugin.
Use require() instead of import statement.
Use `const IgnoreNotFoundExportPlugin = require('ignore-not-found-export-webpack-plugin');` then `new IgnoreNotFoundExportPlugin(...)`.Check the exact path of the file causing warnings; adjust the regex in `include` option. For absolute paths, use a regex like `/.\/src\/.*\.ts$/`.
Run `npm install --save-dev ignore-not-found-export-webpack-plugin`.