Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(kit): try extensions with resolvePath with absolute input #6233

Merged
merged 2 commits into from
Jul 29, 2022

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jul 29, 2022

…vided

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

resolvePath utility, has a fast path check to directly return absolute and existing paths but this prevents continuing searching for extensions when there is an existing directory (/full/path/app stops searching for /full/path/app.vue).

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pi0 pi0 added the bug Something isn't working label Jul 29, 2022
@netlify
Copy link

netlify bot commented Jul 29, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 30a9945
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62e3e451be2c41000860fd36

@pi0 pi0 changed the title fix(kit): try extensions with resolvePath when absolute path is pro… fix(kit): try extensions with resolvePath with absolute input Jul 29, 2022
@pi0 pi0 merged commit 5dc864d into main Jul 29, 2022
@pi0 pi0 deleted the fix/kit-resolve branch July 29, 2022 13:53
@pi0 pi0 mentioned this pull request Aug 5, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants