remove ssr === false condition

This commit is contained in:
Pooya Parsa 2017-06-14 21:28:14 +04:30
parent a00378102b
commit 4569b3a46f

View File

@ -295,11 +295,9 @@ export default class Builder extends Tapable {
compilersOptions.push(clientConfig)
// Server
if (this.options.ssr !== false) {
let serverConfig = serverWebpackConfig.call(this)
serverConfig.name = '$server'
compilersOptions.push(serverConfig)
}
let serverConfig = serverWebpackConfig.call(this)
serverConfig.name = '$server'
compilersOptions.push(serverConfig)
// Leverage webpack multi-compiler for faster builds
this.compiler = webpack(compilersOptions)