0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-09-03 08:53:35 +00:00

fix(webpack): missing process

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2025-03-06 13:30:37 +01:00
commit 21554daed2
3 changed files with 7 additions and 0 deletions

1
package-lock.json generated
View file

@ -63,6 +63,7 @@
"p-queue": "^7.4.1",
"path": "^0.12.7",
"pinia": "^2.3.1",
"process": "^0.11.10",
"query-string": "^9.0.0",
"regenerator-runtime": "^0.14.1",
"select2": "3.5.1",

View file

@ -90,6 +90,7 @@
"p-queue": "^7.4.1",
"path": "^0.12.7",
"pinia": "^2.3.1",
"process": "^0.11.10",
"query-string": "^9.0.0",
"regenerator-runtime": "^0.14.1",
"select2": "3.5.1",

View file

@ -173,6 +173,11 @@ module.exports = {
// break if two separate versions of the library are used (e.g. bundled one
// and global one).
ICAL: 'ical.js',
// Make a global `process` variable that points to the `process` package,
// because the `util` package expects there to be a global variable named `process`.
// Thanks to https://stackoverflow.com/a/65018686/14239942
process: 'process/browser.js'
}),
new WorkboxPlugin.GenerateSW({