Skip to content

Local custom font not getting copied to target folder #21

@cmdillon

Description

@cmdillon

hi! when i try to use a local custom font in my project webpack doesn't copy the file to the theme folder.

i've added this: @import "./fonts.css" to my entry.pcss file.

the content of the "fonts.css" file is:
@font-face {
font-family: 'font;
font-style: normal;
font-weight: normal;
src: local('font'), url('/themes/blank/assets/fonts/font.woff') format('woff');
}

the folder "fonts" gets copied to the theme folder, but then it's empty.

any help with this issue would be much appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions