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

This reverts commit 3e21b78142.
This commit is contained in:
kara Diaby 2020-04-07 18:11:11 +02:00
parent f96ee322a0
commit fe0b3c2215
8 changed files with 402 additions and 6 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');