Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

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

Merged
pi0 merged 2 commits into
mainfrom
fix/kit-resolve
Jul 29, 2022
Merged

fix(kit): try extensions with resolvePath with absolute input#6233
pi0 merged 2 commits into
mainfrom
fix/kit-resolve

Conversation

@pi0

@pi0pi0 commented Jul 29, 2022

Copy link
Copy Markdown
Member

…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.

@pi0pi0 added the bug Something isn't working label Jul 29, 2022
@netlify

netlifyBot commented Jul 29, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commit30a9945
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62e3e451be2c41000860fd36

@pi0pi0 changed the title fix(kit): try extensions with resolvePath when absolute path is pro…fix(kit): try extensions with resolvePath with absolute inputJul 29, 2022
@pi0
pi0 merged commit 5dc864d into mainJul 29, 2022
@pi0
pi0 deleted the fix/kit-resolve branch July 29, 2022 13:53
@pi0pi0 mentioned this pull request Aug 5, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xbugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pi0@danielroe