Skip to content

Fix getAppFiles extensions#2685

Merged
ef4 merged 1 commit intoembroider-build:mainfrom
JezerM:fix/get-app-files-extensions
Mar 17, 2026
Merged

Fix getAppFiles extensions#2685
ef4 merged 1 commit intoembroider-build:mainfrom
JezerM:fix/get-app-files-extensions

Conversation

@JezerM
Copy link
Copy Markdown
Contributor

@JezerM JezerM commented Mar 13, 2026

Fixes #2675

resolvableExtensions() returns an array of dot-prefixed extensions like [".js", ".ts", ".gjs", ".gts"], so when using it for getAppFiles this method was returning files like app..ts and engine..ts (an extra dot) instead of app.ts and engine.ts.

This PR just removes the extra initial dot in getAppFiles.

@ef4 ef4 added the bug Something isn't working label Mar 17, 2026
@ef4 ef4 merged commit ca6bcbb into embroider-build:main Mar 17, 2026
681 of 682 checks passed
@ef4
Copy link
Copy Markdown
Contributor

ef4 commented Mar 17, 2026

Thanks, looks good.

In pondering why this wasn't an immediate test failure, I guess it comes down to the non-determinism of module cycles. Sometimes they will be harmless, but sometimes they won't.

@github-actions github-actions bot mentioned this pull request Mar 18, 2026
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.

Virtual compatFiles include app.ts

2 participants