From 01213e89a0dc018e4522ddf19fb935ae05cb6db0 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Fri, 13 Jul 2018 14:44:16 +0300 Subject: [PATCH] add a comment about ignoreGlobal --- build/rollup_plugins.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/rollup_plugins.js b/build/rollup_plugins.js index 00251333061..d8930f920b3 100644 --- a/build/rollup_plugins.js +++ b/build/rollup_plugins.js @@ -29,6 +29,8 @@ export const plugins = () => [ include: 'src/shaders/index.js' }), commonjs({ + // global keyword handling causes Webpack compatibility issues, so we disabled it: + // https://github.com/mapbox/mapbox-gl-js/pull/6956 ignoreGlobal: true, namedExports: { '@mapbox/whoots-js': ['getTileBBox']