You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1- Create a next app
2- Create two components
3- Create alias for them in jsconfig.json
4- Create one third alias, to include them both
5- Import using those aliases, the alias that contains both of them fails
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Use multiple paths for alias in
jsconfig.json
. It does not resolve the alternative paths.Expected Behavior
It should consider all paths that are provided for any alias in
jsconfig.json
paths.Link to reproduction
https://stackblitz.com/edit/nextjs-34trut?file=pages%2Findex.js
To Reproduce
1- Create a next app
2- Create two components
3- Create alias for them in
jsconfig.json
4- Create one third alias, to include them both
5- Import using those aliases, the alias that contains both of them fails
The text was updated successfully, but these errors were encountered: