Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update webpack.config.js

Jason Kente9c9bfb0ca94
diff --git a/webpack.config.js b/webpack.config.js
index 821f7c893..1bd9bd75e 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -80,7 +80,7 @@ if (devMode) {
// Don't transpile any dependencies in /node_modules except those found
// in transpileDependencies array
babelLoaderExcludes.push(
- new RegExp(`node_modules/(?!(${transpileDependencies.join('|')})/).*`),
+ new RegExp(`node_modules(?!(/|\\\\)(${transpileDependencies.join('|')})).*`),
);
}