-
Notifications
You must be signed in to change notification settings - Fork 136
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
[addon-dev] Allow TS files in publicEntrypoints / appReexports #1094
Comments
It turns out this isn't needed - stay tuned! |
@josemarluedke - Can you put up a separate (smaller) PR from #1099 that ensures that the output path is |
@rwjblue Can definitely do it. Should extension replacement support the following mapping?
|
yep! but I think we already have embroider/packages/addon-dev/src/rollup-hbs-plugin.ts Lines 17 to 20 in 7eba4a9
|
For addons authoring their code in TS (or soon gjs/gts), currently is not possible to use
@embroider/addon-dev
'spublicEntrypoints
orappReexports
methods.We cannot use them because the dist files will end up with the same extension as the input.
In glimmer-apollo, I ended up doing a simple replace of
.ts
with.js
.https://github.com/josemarluedke/glimmer-apollo/blob/main/packages/glimmer-apollo/rollup.config.js#L7-L23
The text was updated successfully, but these errors were encountered: