Another attempt at fixing IE

This commit is contained in:
Paul Chavard 2021-03-09 11:02:22 +01:00
parent d124512336
commit 1644c9d44b

View file

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