Skip to content
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.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ng build does not export src/favicon to dist/ folder. #2137

Closed
vinagreti opened this issue Sep 15, 2016 · 6 comments
Closed

Ng build does not export src/favicon to dist/ folder. #2137

vinagreti opened this issue Sep 15, 2016 · 6 comments
Assignees

Comments

@vinagreti
Copy link

vinagreti commented Sep 15, 2016

  1. OS?
    Ubuntu 16.04 x64
  2. Versions.
    angular-cli: 1.0.0-beta.14
    node: 4.2.6
    os: linux x64
  3. Repro steps.
    Just run ng build and look inside dist/ folder to check if favicon.ico was exported.
  4. 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.
  5. 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.

@yuri1969
Copy link

+1

@vinagreti
Copy link
Author

Same to .htaccess file.

@bthharper
Copy link

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
Copy link

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

adriancarriger added a commit to adriancarriger/udacity-dashboard that referenced this issue Sep 16, 2016
@filipesilva filipesilva self-assigned this Sep 22, 2016
@filipesilva
Copy link
Contributor

This is part of a bigger discussion going on in #1942

@angular-automatic-lock-bot
Copy link

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-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants