e1a2da4762
and remove unused dependencies selfsigned, http-signature and gofpdf Resolves: rhbz#1956384
27 lines
988 B
Diff
27 lines
988 B
Diff
diff --git a/package.json b/package.json
|
|
index 9c5a2d93e2..7f65949ea4 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -294,6 +294,9 @@
|
|
"whatwg-fetch": "3.1.0"
|
|
},
|
|
"resolutions": {
|
|
+ "crypto-browserify": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
|
+ "selfsigned": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
|
+ "http-signature": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
|
"caniuse-db": "1.0.30000772",
|
|
"react-use-measure": "https://github.com/mckn/react-use-measure.git#remove-cjs-export"
|
|
},
|
|
diff --git a/scripts/webpack/webpack.common.js b/scripts/webpack/webpack.common.js
|
|
index 3e56d31c37..a03ed1a67a 100644
|
|
--- a/scripts/webpack/webpack.common.js
|
|
+++ b/scripts/webpack/webpack.common.js
|
|
@@ -66,6 +66,7 @@ module.exports = {
|
|
},
|
|
node: {
|
|
fs: 'empty',
|
|
+ crypto: false,
|
|
},
|
|
plugins: [
|
|
new MonacoWebpackPlugin({
|