-
Hi! I'm trying swc in my typescript project where we have some custom paths configuration. The config I came up with doesn't seem to work because I'm getting errors while trying to resolve paths that have custom mappings. Rather than asking for help with config setup, I tried to debug and see what swc was doing under the hood and ended up in this file I wanted to add some logs there, so I cloned the project, edited the file, run I assumed that I would get some more logs, but I don't see anything when running What would be the proper way of debugging this? Are there any docs around using dev builds? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's due to bindings are using pinned, published version from registry instead of path-referencing to the repo's workspace to avoid unexpected version conflict when we publish. To make things work with local changes, you need to apply patch to those dependencies to the local path instead. CI have some workfing reference example Lines 170 to 175 in ed9a4ae |
Beta Was this translation helpful? Give feedback.
It's due to bindings are using pinned, published version from registry instead of path-referencing to the repo's workspace to avoid unexpected version conflict when we publish.
To make things work with local changes, you need to apply patch to those dependencies to the local path instead. CI have some workfing reference example
swc/.github/workflows/CI.yml
Lines 170 to 175 in ed9a4ae