1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
var Promise = require('../../utils/promise'); var copyPluginAssets = require('./copyPluginAssets'); var prepareI18n = require('./prepareI18n'); /** Initialize the generator @param {Output} @return {Output} */ function onInit(output) { return Promise(output) .then(prepareI18n) .then(copyPluginAssets); } module.exports = onInit;