Skip to content

Commit

Permalink
fix for issue around trying to run Babel on already transpiled mapbox-gl
Browse files Browse the repository at this point in the history
  • Loading branch information
kturney committed Oct 3, 2019
1 parent 1b1ef76 commit e100064
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module.exports = {
name: require('./package').name,

options: {
autoImport: {
skipBabel: [{ package: 'mapbox-gl', semverRange: '*' }]
},

babel: {
plugins: [
// Ensure that `ember-auto-import` can handle the dynamic imports
Expand Down

0 comments on commit e100064

Please sign in to comment.