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