Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor buildBabelOptions and introduce getSupportedExtensions. #390

Merged
merged 3 commits into from
Mar 18, 2021

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Mar 18, 2021

  • Ensure buildBabelOptions accounts for babel.config.js.
  • Rename _getDefaultBabelOptions to buildBroccoliBabelTranspilerOptions
  • Expose getSupportedExtensions method.

The goal here is to fixup some options building issues, and expose a public API that ember-auto-import can use that doesn't rely on the bug @ef4 reported in #227.

The "one true source" of information should be `buildBabelOptions`, this
refactors slightly to ensure that `transpileTree` is not using internal
customized babel config logic.
…ions`

This more correctly reflects what the method is doing, and what it is
for.
@rwjblue rwjblue force-pushed the move-babel-options-building-to-buildBabelOptions branch from 938b5dc to 37a06da Compare March 18, 2021 14:58
@rwjblue rwjblue merged commit 17df30b into master Mar 18, 2021
@rwjblue rwjblue deleted the move-babel-options-building-to-buildBabelOptions branch March 18, 2021 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant