From 3d1bbf3c4d780cd14366514e2a7d90c2f63bb886 Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:53:52 -0700 Subject: [PATCH] Chore: Web: Fix build fails on Windows (#10919) --- packages/app-mobile/web/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-mobile/web/webpack.config.js b/packages/app-mobile/web/webpack.config.js index 479dac36d..2a00a6b65 100644 --- a/packages/app-mobile/web/webpack.config.js +++ b/packages/app-mobile/web/webpack.config.js @@ -13,8 +13,8 @@ const babelLoaderConfiguration = { path.resolve(appDirectory, 'android'), // Compiling these libraries with babel cause build errors. - /.*node_modules\/@babel.*/, - /.*node_modules\/@sqlite\.org\/.*/, + /.*node_modules[/\\]@babel.*/, + /.*node_modules[/\\]@sqlite\.org[/\\].*/, ], use: {