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 was archived by the owner on Jun 5, 2021. It is now read-only.
I have encountered 2 issues with import resolving:
If I have to import a file from a js_library that lives in a parent path, I have to use a lot of '../..' in the path. That makes it hard to move files around without breaking anything.
I create some json files using jsonnet. I then import them as a js_library, but the path is something like this: bazel-out/k8-fastbuild/bin/app/config.json.
The problem is that the fastbuild dir is prefixed with the target architecture (k8/darwin). Then, I cannot resolve the import in a cross platform way. If I use the k8 prefix, it won't work on MacOS, and vice versa.
I have created #48 to solve both issues. I think the implementatios is pretty generic, so it should work for anyone.