0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-14 21:39:28 +00:00

chore(webpack): migrate to node-polyfill-webpack-plugin v4

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
Grigorii K. Shartsev 2024-10-14 18:50:01 +02:00
parent 6fbfdfe607
commit 1fba65545b

View file

@ -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