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:
parent
de0edc5963
commit
21554daed2
3 changed files with 7 additions and 0 deletions
1
package-lock.json
generated
1
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue