Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix resolve path on windows #73

Merged
merged 2 commits into from
May 7, 2020

Conversation

pikax
Copy link
Contributor

@pikax pikax commented May 7, 2020

On windows using path.resolve will resolve the path relative to the current location, because the importer would be /index.html, the dirname is / making the path.resolve to be resolved drivers root eg: C:/

fixes #70 #69

@yyx990803 yyx990803 merged commit 9f6f0a6 into vitejs:master May 7, 2020
@pikax pikax deleted the fix/windows_path_resolve branch May 7, 2020 18:40
hi-ogawa pushed a commit to hi-ogawa/vite that referenced this pull request Dec 6, 2024
Co-authored-by: Yury <YurySolovyov@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vite 0.11.3 does not work on windows
2 participants