emberjs / ember-cli-babel

Ember CLI plugin for Babel
MIT License
153 stars 119 forks source link

Revert breaking changes to `buildBabelOptions` method #462

Closed bertdeblock closed 1 year ago

bertdeblock commented 1 year ago

In https://github.com/babel/ember-cli-babel/pull/460, the structure of the returned object by buildBabelOptions was changed in order to update broccoli-babel-transpiler to v8. However, buildBabelOptions is a public method and these structural changes were causing issues under Embroider and might also cause issues for ember-auto-import here. Even though the next release is breaking, reverting these changes seems like the safer thing to do.