diff --git a/client/coral-framework/services/bootstrap.js b/client/coral-framework/services/bootstrap.js index 5e6173355..3ef6629c1 100644 --- a/client/coral-framework/services/bootstrap.js +++ b/client/coral-framework/services/bootstrap.js @@ -126,7 +126,7 @@ export async function createContext({ createGraphQLRegistry(plugins.getSlotFragments.bind(plugins)), { introspectionData, - optimize: true, + optimize: process.env.NODE_ENV === 'production', }, ); if (!notification) {