Skip to content

fix decorator-transforms runtime path in babel.config.mjs#226

Merged
mansona merged 1 commit intoreleasefrom
fix-file-url
Mar 1, 2026
Merged

fix decorator-transforms runtime path in babel.config.mjs#226
mansona merged 1 commit intoreleasefrom
fix-file-url

Conversation

@mansona
Copy link
Copy Markdown
Member

@mansona mansona commented Mar 1, 2026

the runtime import expects a path but import.meta.resolve returns a file URL, so the result needs to be converted back to a path

We didn't notice this in our tests because it seems to only fail when a v1 addon dependency uses a decorator (for some reason 🤷)

Fixes embroider-build/embroider#2677

@mansona mansona added the bug Something isn't working label Mar 1, 2026
@mansona mansona requested a review from a team March 1, 2026 11:40
@mansona mansona merged commit 0638165 into release Mar 1, 2026
7 checks passed
@mansona mansona deleted the fix-file-url branch March 1, 2026 16:59
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.

2 participants