mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: default value for template path
This commit is contained in:
parent
0ebab89014
commit
a6936ff8c6
@ -13,8 +13,9 @@ export default function (nuxt, moduleContainer) {
|
||||
}
|
||||
nuxt.options.build.transpile = nuxt.options.build.transpile || []
|
||||
nuxt.options.build.transpile.push(nuxt.options.buildDir)
|
||||
|
||||
for (const pathKey of ['appTemplatePath', 'documentPath']) {
|
||||
nuxt.options[pathKey] = nuxt.options[pathKey]
|
||||
nuxt.options[pathKey] = (nuxt.options[pathKey] || '')
|
||||
.replace(oldBuildDir, nuxt.options.buildDir)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user