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:
parent
b374d9ac33
commit
e5ee8369ba
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue