graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.77k stars 735 forks source link

GraphQL Playground React doesn't have middleware.js file in 1.7.27 on jsDelivr #1310

Open ghost opened 3 years ago

ghost commented 3 years ago

This issue pertains to the following package(s):

What OS and OS version are you experiencing the issue(s) on?

Windows

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

graphql-playground-react

What is the expected behavior?

The /build/static/js/middleware.js file to be present in the package on jsDelivr: https://www.jsdelivr.com/package/npm/graphql-playground-react?path=build

What is the actual behavior?

There is no static folder at all inside the build folder in the latest version, and therefore no middleware.js file.

This means any code relying on jsDelivr and using the latest version won't work. As I found when trying to set up the Juniper GraphQL server: https://github.com/graphql-rust/juniper/blob/master/juniper/src/http/playground.rs

What steps may we take to reproduce the behavior?

Go to https://www.jsdelivr.com/package/npm/graphql-playground-react?path=build and see there is no static folder in the latest version.

I'm assuming someone just forgot to build before they pushed the new version, could someone rebuild the package and publish it again?