Blame SOURCES/001-remove-unused-frontend-crypto.patch

db3ad6
diff --git a/package.json b/package.json
1e8b1a
index 698043c..d9f0f44 100644
db3ad6
--- a/package.json
db3ad6
+++ b/package.json
db3ad6
@@ -70,6 +70,8 @@
db3ad6
     "redux-thunk": "^2.3.0"
db3ad6
   },
db3ad6
   "resolutions": {
db3ad6
+    "crypto-browserify": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
db3ad6
+    "http-signature": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
db3ad6
     "monaco-editor": "0.20.0",
db3ad6
     "rxjs": "6.6.3"
db3ad6
   },
db3ad6
diff --git a/webpack.config.js b/webpack.config.js
1e8b1a
index ae72fd8..529d6bf 100644
db3ad6
--- a/webpack.config.js
db3ad6
+++ b/webpack.config.js
1e8b1a
@@ -89,6 +89,10 @@ module.exports.getWebpackConfig = (config, options) => {
db3ad6
             ...config.module,
db3ad6
             rules: removeDataTestAttributeInProduction(options.production, excludeExtractionLoaderForMonaco(config.module.rules)),
db3ad6
         },
db3ad6
+        node: {
db3ad6
+            ...config.node,
db3ad6
+            crypto: false
db3ad6
+        },
db3ad6
         plugins: [
db3ad6
             ...updateForkTsCheckerPluginSettings(config.plugins),
db3ad6
             new MonacoWebpackPlugin({