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
Is your feature request related to a problem? Please describe.
It would be great if we could use tsconfig paths, using the compiler option so that we can reference paths in our repo with something like src/types instead of ../../../src/types. However, when I added this (eg. here https://github.com/karlfloersch/pigi/tree/29704bb7dd9ca7cff44d623cd8f2db4edd2781fe ), there were build errors when contracts tried to compile core.
The paths failing during building is a known issue it seems. Some resources I found were:
While this is annoying & sad because I like the paths, don't want to waste any more time trying to figure it out.
Describe the solution you'd like
If anyone knows how to set this up it would be lovely! Otherwise we will stick to our ugly ../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../ syntax 😄
The text was updated successfully, but these errors were encountered:
Turns out we cannot do this because it conflicts with build dependencies when importing another Lerna package. For instance, contracts trying to use core broke these imports.
Is your feature request related to a problem? Please describe.
It would be great if we could use tsconfig paths, using the compiler option so that we can reference paths in our repo with something like
src/types
instead of../../../src/types
. However, when I added this (eg. here https://github.com/karlfloersch/pigi/tree/29704bb7dd9ca7cff44d623cd8f2db4edd2781fe ), there were build errors whencontracts
tried to compilecore
.The paths failing during building is a known issue it seems. Some resources I found were:
While this is annoying & sad because I like the paths, don't want to waste any more time trying to figure it out.
Describe the solution you'd like
If anyone knows how to set this up it would be lovely! Otherwise we will stick to our ugly
../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../
syntax 😄The text was updated successfully, but these errors were encountered: