document optimizations v2

This commit is contained in:
Chi Vinh Le
2017-12-07 18:41:46 +01:00
parent f96146bfd9
commit 7072aa013b
6 changed files with 32 additions and 29 deletions
-4
View File
@@ -124,10 +124,6 @@ export async function createContext({
const plugins = createPluginsService(pluginsConfig);
const graphql = createGraphQLService(
createGraphQLRegistry(plugins.getSlotFragments.bind(plugins)),
{
introspectionData,
optimize: process.env.NODE_ENV === 'production',
},
);
if (!notification) {