code: function getModulePath(module) {
      if (!module || !module.id) return ""
  
      var parts = module.id.split("/")
  
      return parts.slice(0, parts.length-1).join("/")
  }
docs: ---------------------------------------------------------------------------- get the path of a module ----------------------------------------------------------------------------