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