src/utils/join.js
// Also, this is just much smaller
Also, this is just much smaller
Also this is just much smaller
function join (...parts) {
  parts = parts.filter(part => part !== '' && part !== '.')
  if (parts.length === 0) return '.'
  return parts.join('/')
}
function join ( ... parts ) { parts = parts . filter ( part => part !== '' && part !== '.' ) if ( parts . length === 0 ) return '.' return parts . join ( '/' ) }
Also, this is just much smaller
Also this is just much smaller