windows and linux `/`, `\` problem
productdevbook opened this issue · comments
Mehmet commented
import { dirname, join, resolve } from 'pathe'
console.log('a', join('packages/components/'))
linux -> 'packages/components/'
windows -> 'packages/components/'
some problem resolve
but only used 'path'
linux -> 'packages/components/'
windows -> 'packages\components'
Daniel Roe commented
One of the purposes of this package is to normalise Windows paths to use forward slashes, for consistency between operating systems.