Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] How to publish static assets? #2876

Closed
1 of 3 tasks
capi1O opened this issue Nov 30, 2022 · 5 comments
Closed
1 of 3 tasks

[question] How to publish static assets? #2876

capi1O opened this issue Nov 30, 2022 · 5 comments

Comments

@capi1O
Copy link

capi1O commented Nov 30, 2022

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.

@capi1O capi1O changed the title [question] How to publish static assets [question] How to publish static assets? Nov 30, 2022
@roblarsen
Copy link
Member

Parcel is dumb #2487

@roblarsen
Copy link
Member

We're replacing it, but I've been terrible at getting this release out the door.

@roblarsen
Copy link
Member

👀 #2650

@roblarsen
Copy link
Member

npm run build now does it.

I will release this within the next couple of weeks.

@capi1O
Copy link
Author

capi1O commented Mar 24, 2023

@roblarsen thank you very much, that did the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants