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