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
{{ message }}
Repository navigation
Ng build does not export src/favicon to dist/ folder. #2137
Versions.
angular-cli: 1.0.0-beta.14
node: 4.2.6
os: linux x64
Repro steps.
Just run ng build and look inside dist/ folder to check if favicon.ico was exported.
The log given by the failure. Normally this include a stack trace and some
more information.
Failed to load favicon.ico. The file cannot be found on the server.
Mention any other details that might be useful.
I had to move my favicon to assets/img/favicon.ico and changed the index.html to point to taht place. Is it the correct configuration or the favicon should be placed inside src/ folder?
The same occurs for .htaccess file and any other file that we would like to insert in the root of the build folder.
Activity
yuri1969 commentedon Sep 16, 2016
+1
vinagreti commentedon Sep 16, 2016
Same to .htaccess file.
bthharper commentedon Sep 16, 2016
No assets either (although that's a topic of another issue).
It's not clear (to me anyway) if we should now copy these using a separate build script?
tomwanzek commentedon Sep 16, 2016
Replicates for favicon (have not tested with other assets yet) on Windows 10 with
angular-cli: 1.0.0-beta.14
node: 6.5.0
os: win32 x64
fix: remap assets for production
filipesilva commentedon Sep 22, 2016
This is part of a bigger discussion going on in #1942
angular-automatic-lock-bot commentedon Sep 6, 2019
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.