mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(nuxt): remove whitespace around spa loading template
This commit is contained in:
parent
501ccc3750
commit
5f59f30134
@ -625,7 +625,7 @@ async function spaLoadingTemplate (nuxt: Nuxt) {
|
||||
|
||||
try {
|
||||
if (existsSync(spaLoadingTemplate)) {
|
||||
return readFileSync(spaLoadingTemplate, 'utf-8')
|
||||
return readFileSync(spaLoadingTemplate, 'utf-8').trim()
|
||||
}
|
||||
} catch {
|
||||
// fall through if we have issues reading the file
|
||||
|
Loading…
Reference in New Issue
Block a user