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

add configFile: false to babel transform #449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mansona
Copy link
Contributor

@mansona mansona commented Aug 15, 2023

This fixes an issue when trying to use ember-composable-helpers with @embroider/vite

Essentially when you run babel.transform() it will look for a babel config on disk by default. This hasn't been an issue for us in Ember for a long time since that's not how we classically built our configs, but with @embroider/vite we have a babel config on disk.

I'll not go too much into the details but if we don't change this behaviour there is a chicken-and-the-egg situation between embroider's pre-build of your app and addons and the true babel build for vite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant