Skip to content

cache-loader causing issue with fonts #9

Open
@nathanielrindlaub

Description

@nathanielrindlaub

Hi @odoe -

Thanks so much for the video and sample code. I'm new to webpack and the resources you've put together have been invaluable for getting started with the @arcgis/wepack-plugin.

I ran up against a small issue though: a bunch of the WOFF and TTF fonts (Avenir Next, CalciteWebCoreIcons) would load fine the first time I fired up the app on the webpack-dev-server, but I'd get 404s on all subsequent runs. Took a look at the sources and it doesn't look like the build/ directory gets built at all. All seems to work fine if you don't use the cache-loader for any font files, so perhaps it has something to do with that?

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