Merge pull request #5968 from tchak/fix-carto-ie-again

Correction (à nouveau) du chargement des cartes dans Internet Explorer 11 (#5968)
This commit is contained in:
Pierre de La Morinerie 2021-03-09 11:46:54 +01:00 committed by GitHub
commit 0c5ad449c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,9 @@ if (!Array.isArray(nodeModulesLoader.exclude)) {
nodeModulesLoader.exclude = nodeModulesLoader.exclude =
nodeModulesLoader.exclude == null ? [] : [nodeModulesLoader.exclude]; nodeModulesLoader.exclude == null ? [] : [nodeModulesLoader.exclude];
} }
nodeModulesLoader.exclude.push({ nodeModulesLoader.exclude.push(
and: [/mapbox-gl/, { not: [/react-mapbox-gl/] }] path.resolve(__dirname, '..', '..', 'node_modules/mapbox-gl')
}); );
// Uncoment next lines to run webpack-bundle-analyzer // Uncoment next lines to run webpack-bundle-analyzer
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); // const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');