diff --git a/docs/gridsome.server.js b/docs/gridsome.server.js index b098dd2ba..6ac4dd173 100644 --- a/docs/gridsome.server.js +++ b/docs/gridsome.server.js @@ -185,9 +185,9 @@ module.exports = function (api) { // Generate OpenGraph images for all pages api.onCreateNode(options => { - // if (process.env.NODE_ENV !== 'production') { - // return null - // } + if (process.env.NODE_ENV !== 'production') { + return + } if (options.internal.typeName !== 'DocPage') { return