Skip to content

added js/css and updated jinja template to do away with CDNs - #69

Open
usmcamp0811 wants to merge 2 commits into
graphql-python:masterfrom
usmcamp0811:master
Open

added js/css and updated jinja template to do away with CDNs#69
usmcamp0811 wants to merge 2 commits into
graphql-python:masterfrom
usmcamp0811:master

Conversation

@usmcamp0811

Copy link
Copy Markdown

I tried to use Graphene / Flask-Graphql today at work where I don't have internet access and ran into a problem with Graphiql requiring CDNs to work. I was able to resolve this eventually but wanted to have this in the main line so that I can keep things up to date and not have to worry about my hack at work breaking should we ever rebuild our environment.

@coveralls

coveralls commented Jan 22, 2020

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-3.1%) to 90.435% when pulling 3342054 on usmcamp0811:master into 0137ca1 on graphql-python:master.

@acao

acao commented May 19, 2020

Copy link
Copy Markdown

If you want to ensure users are able to upgrade, and that this package doesn't have a fixed dependency, i might reccomend a non-runtime executed utility script to fetch the latest unpkg cdn bundle, and then cache the result in a gitignored path. you can target @latest (stable) and @next (pre-releases). That or a specific version fetched. Either way, this is already a great way to do offline support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants