From e1000640a2f786e9a806639cbb2229ea2f9c41be Mon Sep 17 00:00:00 2001 From: Kyle Turney Date: Thu, 3 Oct 2019 16:24:49 -0500 Subject: [PATCH] fix for issue around trying to run Babel on already transpiled mapbox-gl issue: https://github.com/mapbox/mapbox-gl-js/issues/3422 caused by: https://github.com/ef4/ember-auto-import/pull/225 --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 5c11370..f32544c 100644 --- a/index.js +++ b/index.js @@ -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