Skip to content

[question] How to publish static assets? #2876

@capi1O

Description

@capi1O

I'm submitting a ...

  • bug report
  • feature request
  • other (Please do not submit support requests here (below))

How to I make static assets available on the published website? I want to publish at mywebsite.com/some-image.png so I can use it as an OpenGraph image (which does not allow relative URL).

I tried to create a public folder and a static folder but they are not copied on build.

I feel this info should be in HTML5Boilerplate docs.

Sorry in advance if missed it but I read the docs (I checked the README, Usage, the FAQ Miscellaneous and Extending), I searched Parcel docs, Github Issues issues, SO.

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