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

Fix support for newer versions of Embroider #173

Merged
merged 5 commits into from
May 14, 2023
Merged

Fix support for newer versions of Embroider #173

merged 5 commits into from
May 14, 2023

Conversation

sandydoo
Copy link
Owner

@sandydoo sandydoo commented May 14, 2023

  • Apply the preprocessor hack for older versions of Embroider.
  • Update tests to work under optimized Embroider builds.
  • Remove the in-repo test addon from package.json.
  • Downgrade ember-modifier to work around a bug complaining about incorrect capabilities.

Resolves #171.

sandydoo added 3 commits May 14, 2023 05:08
v4 seems to set an incorrect version for the modifier capabilities.
I've removed the dynamic component override from the test setup that
would fetch the public API from the component. This is now fetched in
the GMap component itself in debug mode.
This in-repo addon is used for testing and is dynamically removed from
the addon tree when not needed. Embroider is now failing to rebuild the
app on changes because it's expecting files from this addon to be
present. I've removed the addon from package.json and disabled the test
for now. We'll have to migrate to the v2 addon format at some point and
reintegrate the test.
@sandydoo sandydoo added the bug Something isn't working label May 14, 2023
@sandydoo sandydoo force-pushed the update-ember branch 2 times, most recently from 1353a55 to e4fa1c7 Compare May 14, 2023 02:03
@sandydoo sandydoo merged commit dc9d77d into main May 14, 2023
@sandydoo sandydoo deleted the update-ember branch May 14, 2023 02:46
@sandydoo sandydoo restored the update-ember branch May 14, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails with staticComponents: true under Embroider
1 participant