mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
deprecated options.build.ssr
This commit is contained in:
parent
9fe3f0d334
commit
d9a01c25f1
@ -149,7 +149,11 @@ export default class Renderer extends Tapable {
|
|||||||
clientManifest: this.resources.clientManifest,
|
clientManifest: this.resources.clientManifest,
|
||||||
runInNewContext: false,
|
runInNewContext: false,
|
||||||
basedir: this.options.rootDir
|
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
|
// Promisify renderToString
|
||||||
this.bundleRenderer.renderToString = pify(this.bundleRenderer.renderToString)
|
this.bundleRenderer.renderToString = pify(this.bundleRenderer.renderToString)
|
||||||
|
Loading…
Reference in New Issue
Block a user