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

Replaced .js with .ts in publicEntrypoints() #244

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Sep 5, 2024

Background

For addon.publicEntrypoints(), I had listed index.js and template-registry.js (to be explicit about configuration) by following the pattern from **/*.js.

I realized that we need to instead list the files as is, i.e. with .ts in TypeScript projects. The addons worked without an issue by accident, because @embroider/addon-dev has been including **/*.ts.

@ijlee2 ijlee2 added the bug Something isn't working label Sep 5, 2024
@ijlee2 ijlee2 marked this pull request as ready for review September 5, 2024 07:18
@ijlee2 ijlee2 merged commit 3453d44 into main Sep 5, 2024
30 checks passed
@ijlee2 ijlee2 deleted the bugfix-publicEntrypoints branch September 5, 2024 07:18
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