aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2024-10-14 18:50:01 +0200
committerGrigorii K. Shartsev <me@shgk.me>2024-10-14 18:52:36 +0200
commit1fba65545bcec4d5d19e8c563fc0d1bdc9e8bf59 (patch)
tree3e9b08d774af8ee497327ca0ccb9ab8cd5988594 /webpack.common.js
parent6fbfdfe607be93c302d9893121113d031519a9bc (diff)
downloadnextcloud-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.js4
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