Skip to content

Commit

Permalink
Removed mapbox workaround as the bug mapbox/mapbox-gl-js#4359 seems t…
Browse files Browse the repository at this point in the history
…o have been fixed with latest release. Brilliant.
  • Loading branch information
swernerx committed Aug 2, 2018
1 parent 5df5626 commit 1bce2d3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/edge-webpack/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,7 @@ export const full = (options = {}) => ({
},

module: {
rules: RulesModule.rules,
noParse: [
// Fix broken CommonJS library export in MapBox
// See also: https://github.com/mapbox/mapbox-gl-js/issues/4359#issuecomment-288001933
/(mapbox-gl)\.js$/
]
rules: RulesModule.rules
},

stats: ExperienceModule.stats,
Expand Down

0 comments on commit 1bce2d3

Please sign in to comment.