From 2d7b1b1d605eaa67267b50b91bda7d3cb53470a5 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 15 May 2017 01:26:30 +0430 Subject: [PATCH] [module] pass ssr as is This prevents defaulting ssr to false when undefined --- lib/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index 7d37c6fe55..b583dbd088 100755 --- a/lib/module.js +++ b/lib/module.js @@ -55,7 +55,7 @@ class Module { // Add to nuxt plugins this.options.plugins.push({ src: '~/.nuxt/' + dst, - ssr: Boolean(template.ssr), + ssr: template.ssr, injectAs: template.injectAs }) }