Skip to content

Commit

Permalink
add a comment about ignoreGlobal
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jul 13, 2018
1 parent 2619fe4 commit 01213e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/rollup_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 01213e8

Please sign in to comment.