Closed Praefectus-praetorio closed 6 years ago
Duplicate of #10378
Are you certain this has been resolved? I'm running into the same issue using angular cli version 6.0.0-rc.9.
Edit: upgrading to Angular 6.0.0 seems to have resolved this issue.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
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.