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 macros plugins with default config rather than no plugins at all #2106

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Sep 11, 2024

This prevents build failures on missing @embroider/macros if you're running with no compatibility prebuild. It doesn't yet expose a way to send additional configuration into the macro system under those conditions, that can be a followup.

(The default vite conventions for mode and NODE_ENV mean that we could in theory make this babel config figure out the isDeveloping status via process.NODE_ENV, but vite build --mode=development unfortunately still defaults to NODE_ENV=production, and that's not when we're building test suites for CI.)

@ef4 ef4 added the bug Something isn't working label Sep 11, 2024
@ef4 ef4 merged commit ad1534d into main Sep 12, 2024
152 checks passed
@ef4 ef4 deleted the default-macros branch September 12, 2024 00:12
@github-actions github-actions bot mentioned this pull request Sep 12, 2024
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.

1 participant