diff --git a/lib/core/renderer.js b/lib/core/renderer.js index a04fe58f0b..8fce6fb271 100644 --- a/lib/core/renderer.js +++ b/lib/core/renderer.js @@ -149,7 +149,11 @@ export default class Renderer extends Tapable { clientManifest: this.resources.clientManifest, runInNewContext: false, basedir: this.options.rootDir - }, this.options.render.ssr)) + }, this.options.render.ssr, this.options.build.ssr)) + + if(this.options.build.ssr) { + console.warn('[nuxt] `build.ssr` is deprecated and will be removed in 1.0 release, please use `renderer.ssr` instead!') + } // Promisify renderToString this.bundleRenderer.renderToString = pify(this.bundleRenderer.renderToString)