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

embroider ready #1454

Merged
merged 1 commit into from
Jul 7, 2023
Merged

embroider ready #1454

merged 1 commit into from
Jul 7, 2023

Conversation

patricklx
Copy link
Contributor

@patricklx patricklx commented Jun 22, 2023

this is a way to support embroider and classic build.

as postprocessTree does not exists for embroider, alternative ways where needed.

The drawback.of this could be that if some other type of files would be converted to .md files, those would not be picked up.
And other files that could be converted to hbs files, e.g. emblem

@SergeAstapov
Copy link
Collaborator

@patricklx looks like CI is unhappy with proposed changes :/

@patricklx patricklx marked this pull request as draft June 23, 2023 12:22
@patricklx patricklx marked this pull request as ready for review June 23, 2023 15:00
@patricklx
Copy link
Contributor Author

@SergeAstapov try again

@patricklx
Copy link
Contributor Author

Ah, lock file issue and linter... Will fix it later

@patricklx
Copy link
Contributor Author

fixed lock file issue

@patricklx
Copy link
Contributor Author

patricklx commented Jun 26, 2023

i had to move babel.config.js inside eslint.rc file as it was breaking embroider build. the comment said its only used for eslint, so...

@patricklx
Copy link
Contributor Author

it should now all work

Copy link
Contributor

@ef4 ef4 left a comment

Choose a reason for hiding this comment

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

Replacing postprocessTree('all') with treeForPublic and treeForAddon is good.

@SergeAstapov
Copy link
Collaborator

Thanks @ef4 for chime in!
@RobbieTheWagner any concerns to land this?

Copy link
Member

@RobbieTheWagner RobbieTheWagner left a comment

Choose a reason for hiding this comment

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

LGTM! I thought we had no way to support embroider

@RobbieTheWagner RobbieTheWagner merged commit ac2a822 into ember-learn:master Jul 7, 2023
@patricklx patricklx deleted the patch-1 branch July 7, 2023 04:35
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.

4 participants