2021-06-25 16:04:09 +00:00
|
|
|
diff --git a/package.json b/package.json
|
2021-11-12 15:21:30 +00:00
|
|
|
index 698043c..d9f0f44 100644
|
2021-06-25 16:04:09 +00:00
|
|
|
--- a/package.json
|
|
|
|
+++ b/package.json
|
|
|
|
@@ -70,6 +70,8 @@
|
|
|
|
"redux-thunk": "^2.3.0"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
+ "crypto-browserify": "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",
|
|
|
|
"monaco-editor": "0.20.0",
|
|
|
|
"rxjs": "6.6.3"
|
|
|
|
},
|
|
|
|
diff --git a/webpack.config.js b/webpack.config.js
|
2021-11-12 15:21:30 +00:00
|
|
|
index ae72fd8..529d6bf 100644
|
2021-06-25 16:04:09 +00:00
|
|
|
--- a/webpack.config.js
|
|
|
|
+++ b/webpack.config.js
|
2021-11-12 15:21:30 +00:00
|
|
|
@@ -89,6 +89,10 @@ module.exports.getWebpackConfig = (config, options) => {
|
2021-06-25 16:04:09 +00:00
|
|
|
...config.module,
|
|
|
|
rules: removeDataTestAttributeInProduction(options.production, excludeExtractionLoaderForMonaco(config.module.rules)),
|
|
|
|
},
|
|
|
|
+ node: {
|
|
|
|
+ ...config.node,
|
|
|
|
+ crypto: false
|
|
|
|
+ },
|
|
|
|
plugins: [
|
|
|
|
...updateForkTsCheckerPluginSettings(config.plugins),
|
|
|
|
new MonacoWebpackPlugin({
|