We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de425d commit 17c5928Copy full SHA for 17c5928
packages/vite/src/node/utils.ts
@@ -606,9 +606,9 @@ function windowsSafeRealPathSync(path: string): string {
606
}
607
608
function optimizeSafeRealPathSync() {
609
- // Skip if using Node <16.18 due to MAX_PATH issue: https://github.com/vitejs/vite/issues/12931
+ // Skip if using Node <18.10 due to MAX_PATH issue: https://github.com/vitejs/vite/issues/12931
610
const nodeVersion = process.versions.node.split('.').map(Number)
611
- if (nodeVersion[0] < 16 || (nodeVersion[0] === 16 && nodeVersion[1] < 18)) {
+ if (nodeVersion[0] < 18 || (nodeVersion[0] === 18 && nodeVersion[1] < 10)) {
612
safeRealpathSync = fs.realpathSync
613
return
614
0 commit comments