### Environment ```json { "pathe": "2.0.3", "node": "24.15.0" } ``` ### Reproduction ```js import path from 'node:path' import pathe from 'pathe' export default defineEventHandler((event) => { const dir = '\\\\unc-server-name\\unc-path' return { orig: dir, patheResolve: pathe.resolve(dir), pathResolve: path.resolve(dir), } }) ``` ```json { "orig": "\\\\unc-server-name\\unc-path", "patheResolve": "/unc-server-name/unc-path", "pathResolve": "\\\\unc-server-name\\unc-path\\" } ``` ### Describe the bug Apologies if this is intended behaviour, but resolve seems to break windows UNC paths and behaves differently than node:path resolve ### Additional context struggling to get nuxt/image with ipx to read from a windows unc network path ### Logs ```sh ```
Activity
fix(resolve): preserve UNC prefix (#245) (#246)
pi0 commentedon Jul 8, 2026
thnx for report. since main is prepared for v3, #246 fix will land in v3.