docs: function transformManifest(buffer) {
    const content = JSON.parse(buffer.toString())
    if (environment === 'production') {
      const locales = fs.readdirSync(paths.appLocales())
      content.locales = {}
      content.langs = []
      for (const idx in locales) {
        const localContent = require(path.join(paths.appLocales(), locales[idx]))
        const lang = locales[idx].match(/^([^.]*).json$/)[1]
        content.locales[lang] = localContent.manifest ? localContent.manifest : {}
        content.langs.push(lang)
      }
    }
    // icon will be stored in public folder for app with public page
    if (
      hasPublic &&
      content.icon &&
      !content.icon.match(new RegExp(`${publicFolderName}/`))
    ) {
      content.icon = path.join(publicFolderName, content.icon)
    }
    return JSON.stringify(content, null, '  ')
  }