2021-06-15 04:22:21 +00:00
|
|
|
diff --git a/package.json b/package.json
|
2021-06-24 04:24:07 +00:00
|
|
|
index 9c5a2d93e2..7f65949ea4 100644
|
2021-06-15 04:22:21 +00:00
|
|
|
--- a/package.json
|
|
|
|
+++ b/package.json
|
2021-06-24 04:24:07 +00:00
|
|
|
@@ -294,6 +294,9 @@
|
|
|
|
"whatwg-fetch": "3.1.0"
|
2021-06-15 04:22:21 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-06-24 04:24:07 +00:00
|
|
|
+ "crypto-browserify": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
|
|
|
+ "selfsigned": "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",
|
2021-06-15 04:22:21 +00:00
|
|
|
"caniuse-db": "1.0.30000772",
|
2021-06-24 04:24:07 +00:00
|
|
|
"react-use-measure": "https://github.com/mckn/react-use-measure.git#remove-cjs-export"
|
2021-06-15 04:22:21 +00:00
|
|
|
},
|
|
|
|
diff --git a/scripts/webpack/webpack.common.js b/scripts/webpack/webpack.common.js
|
|
|
|
index 3e56d31c37..a03ed1a67a 100644
|
|
|
|
--- a/scripts/webpack/webpack.common.js
|
|
|
|
+++ b/scripts/webpack/webpack.common.js
|
|
|
|
@@ -66,6 +66,7 @@ module.exports = {
|
|
|
|
},
|
|
|
|
node: {
|
|
|
|
fs: 'empty',
|
|
|
|
+ crypto: false,
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
new MonacoWebpackPlugin({
|