From 6be493a322d54da6b64f50f7964e1f3a83f9e956 Mon Sep 17 00:00:00 2001 From: dmbch Date: Tue, 30 Jan 2018 22:38:29 +0100 Subject: [PATCH] feat(build): enable SSR mode in webpack dev middleware --- packages/build/lib/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/build/lib/server.js b/packages/build/lib/server.js index da5904e17..660cc7c7f 100644 --- a/packages/build/lib/server.js +++ b/packages/build/lib/server.js @@ -29,6 +29,7 @@ function runDevelop(options, callback) { logLevel: 'warn', publicPath: developConfig.output.publicPath, watchOptions: developConfig.watchOptions, + serverSideRender: true, }) ); app.use(webpackHotMiddleware(compiler));