graphql-kit / graphql-voyager

🛰️ Represent any GraphQL API as an interactive graph

Home Page:https://graphql-kit.com/graphql-voyager/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import from local file instead of cdn in middlewares

jscheffner opened this issue · comments

Hey, I just came across this comment on a different issue and was wondering if there are any opinions about this. I don't like depending on jsdelivr and would like to have everything included in my app. The files are already included in the npm package so for me it doesn't really make sense to import them via cdn.

Thank you for the PR, but for middleware middleware/render-voyager-page would it be possible to use a local file instead of the one from the cdn?
That way it could work offline locally.

#84 (comment)

I guess serving the static files is a bit too complex so I'll close this issue