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
Angular app with the latest angular-cli tries to get assets (fonts and images) from the parent directory of the component instead of looking for them in the root directory
#10386
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.
Angular app with the latest angular-cli gets assets (fonts and images) from the parent directory of the component. However as far as I understand from the configuration it should refer to the root path of the application.
The version and the angular.json file contents you may find below.
Angular app with the latest angular-cli gets assets (fonts and images) from the parent directory of the component. However as far as I understand from the configuration it should refer to the root path of the application.

The version and the angular.json file contents you may find below.
Versions
Repro steps
Part of the angular.json file:
Observed behavior
Desired behavior
As far as I understand the app should always look for the fonts and images using root path like:
http://domain.name/font.wff
instead of
Otherwise I will be forced to have dozens of assets duplicates across the app.
Just rolled back to angular-cli 1.7.4 and everything works fine.
The text was updated successfully, but these errors were encountered: