code: function getHandlers(handlers) {
          if (typeof handlers === 'string') {
            prev[c.script].handlers.push(handlers)
          } else if (Array.isArray(c.handlers)) {
            c.handlers.forEach(h => {
              prev[c.script].handlers.push(h)
            })
          } else {
            Object.keys(handlers).forEach(k => getHandlers(handlers[k]))
          }
        }
docs: eslint-disable-next-line no-inner-declarations