Permalink
Browse files

fix(icon): await on build

  • Loading branch information...
pi0 committed Nov 16, 2017
1 parent daaf80d commit e3c1be2c7804ec374116d0c177a1537b6c764042
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/icon/index.js
@@ -9,7 +9,7 @@ const isUrl = url => url.indexOf('http') === 0 || url.indexOf('//') === 0
module.exports = function nuxtIcon (options) {
this.nuxt.plugin('build', builder => {
debug('Adding icons')
generateIcons.call(this, options)
return generateIcons.call(this, options)
})
}

0 comments on commit e3c1be2

Please sign in to comment.