Skip to content

fonts of third party css in dist/ root #3143

@maxkarkowski

Description

@maxkarkowski

node --version
v4.6.0
npm --version
3.10.8
angular-cli@1.0.0-beta.16

i have my own css library which i added in the angular-cli.json.

this library hast a font-face in its css like so:

@font-face {
    font-family: 'Interstate';
    src: url("**../fonts/**interstate-bold/86bef0b5-fa75-4ca3-8394-cb7b5a474a45-2.eot");
    font-style: normal;
    font-weight: bold
}

so i assumed if i run ng build the fonts would appear in a font folder or somehow in the assets folder.

but if i run ng build the font will placed in the dist/root folder like so

dist/
   fontfile.eot

in my case this looks like this
dist folder

can i somehow specify it that assets like this will not be placed in the root?

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