From 1fba65545bcec4d5d19e8c563fc0d1bdc9e8bf59 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Mon, 14 Oct 2024 18:50:01 +0200 Subject: [PATCH] chore(webpack): migrate to node-polyfill-webpack-plugin v4 Signed-off-by: Grigorii K. Shartsev --- webpack.common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index 1df53a986bd..0d285a3dd61 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -169,7 +169,9 @@ const config = { plugins: [ new VueLoaderPlugin(), - new NodePolyfillPlugin(), + new NodePolyfillPlugin({ + additionalAliases: ['process'], + }), new webpack.ProvidePlugin({ // Provide jQuery to jquery plugins as some are loaded before $ is exposed globally. // We need to provide the path to node_moduels as otherwise npm link will fail due -- 2.39.5