[module] pass ssr as is

This prevents defaulting ssr to false when undefined
This commit is contained in:
Pooya Parsa 2017-05-15 01:26:30 +04:30
parent 11cb84d239
commit 2d7b1b1d60

View File

@ -55,7 +55,7 @@ class Module {
// Add to nuxt plugins // Add to nuxt plugins
this.options.plugins.push({ this.options.plugins.push({
src: '~/.nuxt/' + dst, src: '~/.nuxt/' + dst,
ssr: Boolean(template.ssr), ssr: template.ssr,
injectAs: template.injectAs injectAs: template.injectAs
}) })
} }