You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addon/componentssome-component.tssome-component.hbsapp/componentssome-component.ts// which just re-exports addon/components with absolute path (package-name/addon/...);
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.
The text was updated successfully, but these errors were encountered:
raido
changed the title
V1 addon with app/components/some-component.ts fails to find the component
V1 addon (TypeScript) with app/components/some-component.ts fails to find the component
Mar 27, 2024
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
The text was updated successfully, but these errors were encountered: