React app absolute import paths - NODE_PATH #4240
Replies: 1 comment
-
Hi @dkoleary88 can you give us some more context? Maybe a small repo that you can link to us? Are you using babel-plugin-module-resolver? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a React app and for development convenience use absolute import paths that are specified in jsconfig.json:
Build keeps failing in Vercel as modules cannot be found. It doesnt seem to respect jsconfig.json.
I've also tried setting the
NODE_PATH
env variable in various ways with no luck.Any ideas on how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions