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

Output _babel_filter_.js in the .embroider folder #1939

Merged
merged 1 commit into from
May 22, 2024

Conversation

BlueCutOfficial
Copy link
Collaborator

@BlueCutOfficial BlueCutOfficial commented May 22, 2024

Follows #1935

Context

We are still working on removing the rewritten app completely. To achieve this goal, we need to remove all the remaining differences between the initial Ember app and the rewritten app generated at stage 2.

One of these differences is the presence of _babel_filter_.js in the root folder of the rewritten-app.

_babel_filter_.js is related to the skipBabel option and how ember-cli-babel works. It's something we don't want to keep in the new Embroider + Vite world because we don't want ember-cli-babel to be a requirement and the Babel config should be standard and defined in the user's Ember app. So the ultimate goal is to remove _babel_filter_.js.

This PR

This PR should be seen as an intermediate step.

Even though we want to remove the skipBabel option and _babel_filter_.js, here, we simply move the file out of the rewritten app, and we now output it directly in the .embroider folder, which contains all the config files we need.

The point of this intermediate step is to unblock the removal of the rewritten app and manage the deletion of skipBabel as a separated topic, independent from the deactivation of the rewritten app.

…r folder so it's separated from the rewritten-app
@BlueCutOfficial BlueCutOfficial added the enhancement New feature or request label May 22, 2024
@BlueCutOfficial BlueCutOfficial changed the title feat(remove rewritten-app): output _babel_filter_.js in the .embroider folder Output _babel_filter_.js in the .embroider folder May 22, 2024
@BlueCutOfficial BlueCutOfficial marked this pull request as ready for review May 22, 2024 15:05
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mansona mansona merged commit 3608a1f into main May 22, 2024
178 checks passed
@mansona mansona deleted the align-package-json-babel-filter branch May 22, 2024 15:22
@github-actions github-actions bot mentioned this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants