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

fix(nuxi): don't strip file extensions from dirs in tsconfig #4595

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#13816

❓ 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

Previously we were stripping anything extension-like from a path, which also covered directories like app.com. This PR strips file extensions only if it's not a directory.

When we bump minimum node version to 14.17 then we could also use throwIfNoEntry: false.

πŸ“ Checklist

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

@danielroe danielroe added bug Something isn't working cli πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Apr 25, 2022
@danielroe danielroe requested a review from pi0 April 25, 2022 14:19
@danielroe danielroe self-assigned this Apr 25, 2022
@netlify
Copy link

netlify bot commented Apr 25, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit ae7ed09
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6266b6fe62bb7c00081d3e97

@pi0 pi0 merged commit 2d202b5 into main Apr 25, 2022
@pi0 pi0 deleted the fix/only-strip-from-files branch April 25, 2022 17:07
@pi0 pi0 mentioned this pull request May 2, 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 cli πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The tsconfig generated by nuxi is not as expected
2 participants