code: function normalizeFileName (name, extension, format) {
    if (name.startsWith('@')) {
      name = name.slice(name.lastIndexOf('/') + 1)
    }
    if (format === 'umd' || !format) {
      return `${name}.${extension}`
    }
    return `${name}.${format}.${extension}`
  }
docs: Example:
  vue-foldable => vue-foldable[.format].js
  @vue-foldable/csdn => csdn[.format].js
  
  @param name
  @param extension
  @param format
  @returns {string}