diff --git a/lib/core/renderer.js b/lib/core/renderer.js index 512848d2e..11b201e44 100644 --- a/lib/core/renderer.js +++ b/lib/core/renderer.js @@ -118,10 +118,6 @@ export default class Renderer extends Tapable { return this.options.render.ssr === false } - get onlySSR () { - return this.options.render.ssr === 'only' - } - get isReady () { if (this.noSSR) { return Boolean(this.resources.spaTemplate) @@ -480,14 +476,12 @@ export default class Renderer extends Tapable { let resourceHints = '' - if (!this.onlySSR) { - if (this.options.render.resourceHints) { - resourceHints = context.renderResourceHints() - HEAD += resourceHints - } - APP += `` - APP += context.renderScripts() + if (this.options.render.resourceHints) { + resourceHints = context.renderResourceHints() + HEAD += resourceHints } + APP += `` + APP += context.renderScripts() HEAD += context.renderStyles()