diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2024-10-14 18:50:01 +0200 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2024-10-14 18:52:36 +0200 |
commit | 1fba65545bcec4d5d19e8c563fc0d1bdc9e8bf59 (patch) | |
tree | 3e9b08d774af8ee497327ca0ccb9ab8cd5988594 /webpack.common.js | |
parent | 6fbfdfe607be93c302d9893121113d031519a9bc (diff) | |
download | nextcloud-server-1fba65545bcec4d5d19e8c563fc0d1bdc9e8bf59.tar.gz nextcloud-server-1fba65545bcec4d5d19e8c563fc0d1bdc9e8bf59.zip |
chore(webpack): migrate to node-polyfill-webpack-plugin v4
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 4 |
1 files changed, 3 insertions, 1 deletions
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 |