mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Use graphql document optimizations only in production
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ export async function createContext({
|
||||
createGraphQLRegistry(plugins.getSlotFragments.bind(plugins)),
|
||||
{
|
||||
introspectionData,
|
||||
optimize: true,
|
||||
optimize: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
);
|
||||
if (!notification) {
|
||||
|
||||
Reference in New Issue
Block a user