graphiql
graphiql copied to clipboard
[graphiql] graphiql-cdn example does not support patch upgrades
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
Changing the version 4.0.0 to 4.0.1 ... 4.0.4 for all graphql packages in index.html does not work, due to various export errors reported in graphiql.bundle
Expected Behavior
Patch upgrades of the different graphql versions should not break the CDN example
Steps To Reproduce
- use graphiql-cdn example with version 4.0.0
- with this configuration it works
- change all 4.0.0 versions to any patch upgrade 4.0.x
- see different export bundle errors depending on patch version
- try latest 4.0.5 and get 404 errors from CDN
Environment
- GraphiQL Version: 4.0.x
- OS: windows
- Browser: Chrome
- Bundler: CDN example
-
reactVersion: CDN example -
graphqlVersion: CDN example
Anything else?
No response
you can also omit @version in url, so it will always pick up latest version, I will remove versions in graphiql cdn examples in v5