Warning if loadingIndicator not found

This commit is contained in:
Sebastien Chopin 2017-08-18 14:23:10 +02:00
parent 06a3d65ebf
commit e709fa4bff

View File

@ -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
}
}