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
{{ message }}
This repository has been archived by the owner on May 19, 2022. It is now read-only.
I wonder if this is a bug from craco-alias or typescript.
I would like to type @layout to resolve to ./layout. then adding a forward / would continue the path.
e.g. @layout --> ./layout/index.ts @layout/main --> ./layout/main.ts
So in tsconfig.json I did
"paths": {
"@layout": ["./layout"],
}
But it doesn't work in both case. For the above use case to work, I should add kind of a duplicate
Hi
I wonder if this is a bug from craco-alias or typescript.
I would like to type
@layout
to resolve to./layout
. then adding a forward/
would continue the path.e.g.
@layout
-->./layout/index.ts
@layout/main
-->./layout/main.ts
So in
tsconfig.json
I didBut it doesn't work in both case. For the above use case to work, I should add kind of a duplicate
The text was updated successfully, but these errors were encountered: