Open raido opened 1 month ago
in your addon, do you have:
options: {
'ember-cli-babel': {
enableTypeScriptTransform: true
}
}
?
https://github.com/emberjs/ember-cli-babel?tab=readme-ov-file#enabling-typescript-transpilation
Yes, I do. The whole context up 🔝 is from the addon perspective.
Any updates here?
V1 addon with structure like this:
Fails to build (embroider-safe, embroider-optimized scenarios) with errror:
Attempted to resolve 'some-component', which was expected to be a component, but nothing was found.
Workaround
Renaming
app/components/some-component.ts
->app/components/some-component.js
and the build succeeds.Context