Server IP : 162.213.251.212 / Your IP : 18.225.255.226 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/webpack/lib/cache/ |
Upload File : |
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; /** @typedef {import("../Compiler")} Compiler */ class AddManagedPathsPlugin { /** * @param {Iterable<string | RegExp>} managedPaths list of managed paths * @param {Iterable<string | RegExp>} immutablePaths list of immutable paths */ constructor(managedPaths, immutablePaths) { this.managedPaths = new Set(managedPaths); this.immutablePaths = new Set(immutablePaths); } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { for (const managedPath of this.managedPaths) { compiler.managedPaths.add(managedPath); } for (const immutablePath of this.immutablePaths) { compiler.immutablePaths.add(immutablePath); } } } module.exports = AddManagedPathsPlugin;