Skip to content

Gatsby ignores custom html.js and static files #3308

@peXed

Description

@peXed

Hello!

I have a strange issue. I tried to modify the hmtl.js file.
I copied over to src/html.js and added my code (I try to get outdatebrowser into the build http://outdatedbrowser.com/en/).

But Gatsby seems to ignore the file. The custom code doesn't appear in the header and body.

Maybe a related issue I have as well is that Gatsby is not copying over my static files from src/static to the public folder (for example a video in src/static/videos/vid1.mp4). Is this a known issue or do I do something wrong?

Cheers,
Dominik from rocket.works

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