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

fix(kit): make resolvePath case-sensitive #291

Merged
merged 3 commits into from
Jun 30, 2021
Merged

fix(kit): make resolvePath case-sensitive #291

merged 3 commits into from
Jun 30, 2021

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jun 30, 2021

The issue with App.vue reported in the linked issues is MacOS-specific and is caused in the playground by tryResolvePath resolving App.vue with app.vue (as existsSync returns true) and thereby generating the following entrypoint:

export { default } from './playground/App.vue'

This 'works' as MacOS is case-insensitive but it's not the correct path, hence HMR issue.

resolves nuxt/nuxt#10933, resolves nuxt/nuxt#10922

@danielroe danielroe self-assigned this Jun 30, 2021
@danielroe danielroe added bug Something isn't working kit labels Jun 30, 2021
@danielroe danielroe requested a review from pi0 June 30, 2021 13:28
Co-authored-by: pooya parsa <pyapar@gmail.com>
Copy link
Member

atinux commented Jun 30, 2021

This is awesome ✨

@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 kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite HMR is broken on App.vue Webpack HMR is broken on app.vue
3 participants