-
-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
♦️ need reprothe issue needs a reproduction for further investigationthe issue needs a reproduction for further investigation👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this🙏 help wantedhelp in this issue is welcomehelp in this issue is welcome
Description
I tried running the example on repo in windows, an warning occurred. And vite serve is broken.
By tracing, It seems by the root.insert call node variable __dirname. It will return win32 style path \\unplugin-vue-router\\ , and path.join function keep the style.
When it written to / __vue-router/auto-routes by generatePageImport, path is converted to \unplugin-vue-router\. That caused backslash escape error.
reproduction
https://github.com/Gehbt/uvr-bug-repo1
- go to
vite.config.js - change
joinfunction import source tonode:path
Metadata
Metadata
Assignees
Labels
♦️ need reprothe issue needs a reproduction for further investigationthe issue needs a reproduction for further investigation👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this🙏 help wantedhelp in this issue is welcomehelp in this issue is welcome

