How to create single build file for react application created using graphiql

26 Views Asked by At

I have created a graphql application using react and its working fine on dev environment But on production its is giving chunk error as my app deployed on different host.

I m using these packages

    "@graphiql/plugin-explorer": "1.0.3",
    "codemirror-graphql": "2.0.10",
    "graphiql": "3.1.1",
    "graphql": "16.8.1",
    "graphql-language-service-cli": "3.3.33",

enter image description here

enter image description here

Is there any way we can create single bundle of application ?

0

There are 0 best solutions below