migrate map to mapbox-gl with a react component

This commit is contained in:
kara Diaby 2020-03-26 10:34:25 +01:00
parent bbaffd7f4b
commit aa56cfd7a0
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');