mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Warning if loadingIndicator not found
This commit is contained in:
parent
06a3d65ebf
commit
e709fa4bff
@ -287,6 +287,8 @@ export default class Builder extends Tapable {
|
||||
dst: 'loading.html',
|
||||
options: this.options.loadingIndicator
|
||||
})
|
||||
} else {
|
||||
console.error(`Could not fetch loading indicator: ${this.options.loadingIndicator.name}`) // eslint-disable-line no-console
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user