MiguelSavignano / gatsby-plugin-relative-paths

Ensuring that assets are relative and links
MIT License
0 stars 3 forks source link

Gatsby v4 & IPFS gateway support #6

Closed mpontus closed 2 years ago

mpontus commented 2 years ago

Hi, Miguel!

I've taken your plugin as the base for implementing IPFS support for our gatsby site.

Following changes were required in order to support publishing the website on IPFS gateway:

I apologize for the number of changes made to the post-processing pipeline, as it was largely rewritten as part of this effort.

But if you agree that the purpose of the changes still aligns with the goals of your fork, I'd love for you to consider merging these changes upstream.

Thank you for your work!

justinh00k commented 2 years ago

hi @mpontus - i'm trying to use your branch with gatsby v4, but i can't get it to work. should the configuration be the game as the original plugin? thanks!

mpontus commented 2 years ago

@justinh00k Yes, you can find example config in an updated example directory: https://github.com/mpontus/gatsby-plugin-relative-paths/blob/example/example/gatsby-config.js

Do you intend to publish your website to ipfs by chance?