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: {