📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 17:14:25
📂
/ (Root)
/
home
/
supecsoq
/
.trash
/
node_modules
/
next
/
dist
/
build
/
webpack
/
plugins
/
wellknown-errors-plugin
📍 /home/supecsoq/.trash/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin
🔄 Refresh
✏️
Editing: index.js
Writable
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "WellKnownErrorsPlugin", { enumerable: true, get: function() { return WellKnownErrorsPlugin; } }); const _webpackModuleError = require("./webpackModuleError"); const NAME = 'WellKnownErrorsPlugin'; class WellKnownErrorsPlugin { apply(compiler) { compiler.hooks.compilation.tap(NAME, (compilation)=>{ compilation.hooks.afterSeal.tapPromise(NAME, async ()=>{ var _compilation_warnings, _compilation_errors; if ((_compilation_warnings = compilation.warnings) == null ? void 0 : _compilation_warnings.length) { await Promise.all(compilation.warnings.map(async (warn, i)=>{ var _warn_module_context, _warn_module; if (warn.name === 'ModuleDependencyWarning' && ((_warn_module = warn.module) == null ? void 0 : (_warn_module_context = _warn_module.context) == null ? void 0 : _warn_module_context.includes('node_modules'))) { compilation.warnings.splice(i, 1); } })); } if ((_compilation_errors = compilation.errors) == null ? void 0 : _compilation_errors.length) { await Promise.all(compilation.errors.map(async (err, i)=>{ try { const moduleError = await (0, _webpackModuleError.getModuleBuildError)(compiler, compilation, err); if (moduleError !== false) { compilation.errors[i] = moduleError; } } catch (e) { console.log(e); } })); } }); }); } } //# sourceMappingURL=index.js.map
💾 Save Changes
❌ Cancel