-
Notifications
You must be signed in to change notification settings - Fork 536
Allow fallback to hosted js files without cdn #112
Comments
Good idea. Should be able to pass something like "local" or "cdn" to the graphiql option This would be a good pick up task for anyone interested in contributing. |
or perhaps something like bellow? Though the advantage of the local flag is that it wouldn't even bother trying to hit the external network.
|
+1 |
Or just make GraphiQL a react app and compile it out to a bundle.js. |
I'm happy to work on this if nobody is already doing it |
@dgrcode are you working on this? |
@tanaypratap I didn't start working on it. Feel free to take it 👍 |
great. I will be working on this and putting up a draft peer soon. Thanks for the quick reply @dgrcode |
CDN usage was completely removed in #524 |
Tried to use graphiql provided by this package on an intranet without an internet connection, horrible experience, everything is loaded from cdn.
Similar issues in other flavours of graphiql, seems like I'm not the only one having this issue.
expo/koa-graphiql#1
This was already fixed in the
example/
for graphiql itself: graphql/graphiql#135Could we please have a fallback where if the cdn fails to load the files it loads a local copy?
The text was updated successfully, but these errors were encountered: