Skip to content

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

Closed
@vinagreti

Description

@vinagreti
  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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions