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(nuxt): do not resolve non-absolute component paths #29036

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Sep 17, 2024

🔗 Linked issue

resolves nuxt-modules/leaflet#80
resolves #29028

📚 Description

We now resolve components that don't have file extensions (#28843) but this is also currently fully resolving paths to libraries in node_modules/, which is wrong on several fronts - most notably that the path might be different between node + browser.

We can skip this if not passed an absolute path as the intention here is just to add a file extension when a partial path is provided.

Copy link

stackblitz bot commented Sep 17, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@danielroe danielroe merged commit 215ae69 into main Sep 17, 2024
40 checks passed
@danielroe danielroe deleted the fix/component-module branch September 17, 2024 14:57
@github-actions github-actions bot mentioned this pull request Sep 17, 2024
This was referenced Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant