fix: typo in createBundleRenderer basedir

This commit is contained in:
Pooya Parsa 2017-05-26 14:19:47 +04:30
parent a1d78988c0
commit ae0c88acbf

View File

@ -511,7 +511,7 @@ function createRenderer (bundle, manifest) {
this.renderer = createBundleRenderer(bundle, Object.assign({ this.renderer = createBundleRenderer(bundle, Object.assign({
clientManifest: manifest, clientManifest: manifest,
runInNewContext: false, runInNewContext: false,
baseDir: this.options.dir basedir: this.dir
}, this.options.build.ssr)) }, this.options.build.ssr))
this.renderToString = pify(this.renderer.renderToString) this.renderToString = pify(this.renderer.renderToString)
this.renderToStream = this.renderer.renderToStream this.renderToStream = this.renderer.renderToStream