Skip to content

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

Closed

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.

Activity

  1. yuri1969 commented on Sep 16, 2016

    @yuri1969

    +1

  2. vinagreti commented on Sep 16, 2016

    @vinagreti
    Author

    Same to .htaccess file.

  3. bthharper commented on Sep 16, 2016

    @bthharper

    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?

  4. tomwanzek commented on Sep 16, 2016

    @tomwanzek

    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

  5. self-assigned this
    on Sep 22, 2016
  6. filipesilva commented on Sep 22, 2016

    @filipesilva
    Contributor

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

  7. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  8. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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