Open mikaelkaron opened 11 months ago
the reason I’ve implemented it in this way is to keep the package from npm small, and avoid a complex build step.
I think the best idea would be to split it into another package, similarly to what we did for fastify-swagger-ui.
at the moment graphiql loads all of it's front-end resource from unpkg - this works fine if you are online while developing, but is less than ideal when offline.
these are the sources loaded from unpkg:
related: platformatic/platformatic#1944