mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
chore: upgrade react-scripts to 5.0.1
This commit is contained in:
18
apps/web/patches/react-scripts+5.0.1.patch
Normal file
18
apps/web/patches/react-scripts+5.0.1.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/node_modules/react-scripts/config/webpack.config.js b/node_modules/react-scripts/config/webpack.config.js
|
||||
index e465d8e..35fcbd4 100644
|
||||
--- a/node_modules/react-scripts/config/webpack.config.js
|
||||
+++ b/node_modules/react-scripts/config/webpack.config.js
|
||||
@@ -304,6 +304,13 @@ module.exports = function (webpackEnv) {
|
||||
},
|
||||
resolve: {
|
||||
// This allows you to set a fallback for where webpack should look for modules.
|
||||
+ fallback: {
|
||||
+ crypto: false,
|
||||
+ module: false,
|
||||
+ dgram: false,
|
||||
+ path: false,
|
||||
+ url: false,
|
||||
+ },
|
||||
// We placed these paths second because we want `node_modules` to "win"
|
||||
// if there are any conflicts. This matches Node resolution mechanism.
|
||||
// https://github.com/facebook/create-react-app/issues/253
|
||||
Reference in New Issue
Block a user