From 27035e2d78e1f6ad2337d2e0932fa1d1d6c64255 Mon Sep 17 00:00:00 2001 From: Shashank Date: Tue, 31 Oct 2023 16:25:20 +0100 Subject: [PATCH] Update webpack.config.js Ignoring watch of node modules to mitigate error on amplify with chokidar. Build timeout error. --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 8d3f660..dc60317 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -16,6 +16,9 @@ module.exports = async function (env, argv) { }, ], }, + watchOptions: { + ignored: '**/node_modules', + }, babel: { dangerouslyAddModulePathsToTranspile: ["@rjsf/material-ui"], },