Merge pull request #1586 from smadey/dev

Add "resourcesLoaded" plugin for Renderer
This commit is contained in:
Sébastien Chopin 2017-09-07 13:37:50 +02:00 committed by GitHub
commit a5cf2c3c42

View File

@ -108,6 +108,9 @@ export default class Renderer extends Tapable {
this.resources.loadingHTML = ''
}
// Call resourcesLoaded plugin
await this.applyPluginsAsync('resourcesLoaded', this.resources)
if (updated.length > 0) {
// debug('Updated', updated.join(', '), isServer)
this.createRenderer()