fix: This fixes bug #525 where the browser version was breaking becuase of process not being found. (#526)

fixes #525

Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
This commit is contained in:
Lucas Holmquist 2023-02-12 15:25:38 -05:00 committed by GitHub
parent b374d9ac33
commit e5ee8369ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3056 additions and 2689 deletions

5738
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -112,6 +112,7 @@
"dependencies": {
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"process": "^0.11.10",
"util": "^0.12.4",
"uuid": "^8.3.2"
},

View File

@ -1,4 +1,5 @@
const path = require("path");
const webpack = require("webpack");
module.exports = {
entry: {
@ -11,6 +12,11 @@ module.exports = {
https: false
},
},
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser'
})
],
output: {
path: path.resolve(__dirname, "bundles"),
filename: "[name].js",