Skip to content

Favicon not copied to dist folder #2804

Closed
@meeroslav

Description

@meeroslav

Favicon doesn't get copied to dist folder on production build.
Moving favicon.ico to assets folder solves the issue of course.
Potential solutions are to change blueprint and move file to assets by default or check why copying fails on --prod.

OS?

Windows 7 (others as well, but not tested)

Versions.

angular-cli: 1.0.0-beta.16
node: 5.10.1
os: win32 x64

Repro steps.

Run ng build --prod. Start the app from dist folder

The log given by the failure.

404 in browser for favicon.ico

Metadata

Metadata

Assignees

No one assigned

    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