platformatic / platformatic

Platformatic Open Source monorepo!
Apache License 2.0
1.42k stars 140 forks source link

local `graphiql` front-end sources for offline development #1944

Open mikaelkaron opened 6 months ago

mikaelkaron commented 6 months ago

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:

'https://unpkg.com/react@18.2.0/umd/react.production.min.js',
'https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js',
'https://unpkg.com/graphiql@2.0.9/graphiql.min.js'

it looks like this is from the mercurius sources so maybe a related issue should be filed there?

mcollina commented 5 months ago

This would really be great to have.