Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Enhancement] Netlify webpack optimization (#525)

Giuseppe Macrìbdf3757c401b
diff --git a/website/webpack.config.js b/website/webpack.config.js
index 75d27b3e5..25a03e5f2 100644
--- a/website/webpack.config.js
+++ b/website/webpack.config.js
@@ -139,7 +139,14 @@ const COMMON_CONFIG = {
'DropboxClientId',
'MapboxExportToken'
])
- ]
+ ],
+
+ // Required to avoid deck.gl undefined module when code is minified
+ optimization: {
+ concatenateModules: false,
+ providedExports: false,
+ usedExports: false
+ }
};
const addDevConfig = config => {