После переезда на Node.js 18 обновлял зависимости и при сборке получаю ошибку:
[webpack-cli] TypeError: compiler.plugin is not a function
at WebpackSvgStore.apply (/var/www/html/bx-site/local/client/node_modules/webpack-svgstore-plugin/src/svgstore.js:79:14)
at createCompiler (/var/www/html/bx-site/local/client/node_modules/webpack/lib/webpack.js:71:12)
at create (/var/www/html/bx-site/local/client/node_modules/webpack/lib/webpack.js:115:15)
at webpack (/var/www/html/bx-site/local/client/node_modules/webpack/lib/webpack.js:123:46)
at WebpackCLI.f [as webpack] (/var/www/html/bx-site/local/client/node_modules/webpack/lib/index.js:35:15)
at WebpackCLI.createCompiler (/var/www/html/bx-site/local/client/node_modules/webpack-cli/lib/webpack-cli.js:1785:29)
at async WebpackCLI.runWebpack (/var/www/html/bx-site/local/client/node_modules/webpack-cli/lib/webpack-cli.js:1877:20)
at async Command.<anonymous> (/var/www/html/bx-site/local/client/node_modules/webpack-cli/lib/webpack-cli.js:944:21)
at async Command.parseAsync (/var/www/html/bx-site/local/client/node_modules/webpack-cli/node_modules/commander/lib/command.js:935:5)
at async Command.<anonymous> (/var/www/html/bx-site/local/client/node_modules/webpack-cli/lib/webpack-cli.js:1356:13)
Как я понял она вызвана с тем что плагин webpack-svgstore-plugin не поддерживается в webpack 5. Подскажите так-ли это и если да то каким сборщиком спрайтов его заменить?