From ba424e0952b8175a36dafbe1510ac34deb61c89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Thu, 1 Nov 2018 09:31:01 +0100 Subject: [PATCH] fix(server): fix getScriptElements --- packages/server/src/LoadableState.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/LoadableState.js b/packages/server/src/LoadableState.js index 1ab3902f..a32b8dce 100644 --- a/packages/server/src/LoadableState.js +++ b/packages/server/src/LoadableState.js @@ -60,7 +60,7 @@ class LoadableState { } getScriptElements() { - if (this.prefetchMode) { + if (this.manifest) { return this.chunks.map(chunk => { const props = { src: this.getChunkAsset(chunk),