Revert "Revert "Revert "Revert "feat/4893 - migrate the mapReader to mapbox-gl with react""""

This reverts commit 473ed00b6c.
This commit is contained in:
kara Diaby 2020-04-07 18:17:30 +02:00
parent e96e33b9a5
commit 56e9834389
8 changed files with 469 additions and 67 deletions

View file

@ -9,6 +9,9 @@ const resolve = {
environment.splitChunks();
environment.config.merge({ resolve });
environment.loaders.get(
'nodeModules'
).exclude = /(?:@?babel(?:\/|\\{1,2}|-).+)|regenerator-runtime|core-js|^webpack$|^webpack-assets-manifest$|^webpack-cli$|^webpack-sources$|^@rails\/webpacker$|^mapbox-gl$|/;
// Uncoment next lines to run webpack-bundle-analyzer
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');