vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo
MIT License
26.48k stars 1.85k forks source link

feat(trace): resolve incorrect extension #9486

Closed NicholasLYang closed 1 week ago

NicholasLYang commented 1 week ago

Description

Invalid extensions are unfortunately too common in imports. Therefore if we can't resolve with the extension, we strip it and try again.

Testing Instructions

Added a test where we try to import with the wrong extension

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 5:58pm
8 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **examples-basic-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-basic-web/AhpZNi8qE7TL2uDjGTigMyJKo8XK)) | | | Nov 21, 2024 5:58pm | | **examples-designsystem-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-designsystem-docs/GpFZBygw8CvGKaC2djhs6zLR3YeJ)) | | | Nov 21, 2024 5:58pm | | **examples-gatsby-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-gatsby-web/GCYZ7M7q3rKVSBB9ctsMwPMrRawg)) | | | Nov 21, 2024 5:58pm | | **examples-kitchensink-blog** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-kitchensink-blog/GKaLnBJC1Nq8QaSjEU227qRbAQm5)) | | | Nov 21, 2024 5:58pm | | **examples-native-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-native-web/2q1UJ1Gbvf45VBFUnd7EtrvrjEmh)) | | | Nov 21, 2024 5:58pm | | **examples-svelte-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-svelte-web/3KCVwKtaHhC7PxBXNMdkmTSKZziy)) | | | Nov 21, 2024 5:58pm | | **examples-tailwind-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-tailwind-web/EyRca7ZWsPbyGrggBD6DSZgwDwPV)) | | | Nov 21, 2024 5:58pm | | **examples-vite-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-vite-web/AKLdbtuESUgxPRnZ1ys5Koox17A2)) | | | Nov 21, 2024 5:58pm |