-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support NODE_PATH
/ nodePaths
#55
Comments
The Node.js docs suggest that NODE_PATH is legacy and not really how things should be done. Given that we are able to compile TypeScript, it would also be necessary to add to the |
I checked, and esbuild reads from compilerOptions.paths already, so the plug-in shouldn't be necessary I agree with you original point. Could just close this for now, or revisit in 2.1 |
Let's close this and reopen if someone finds a scenario we don't support out-of-the-box. |
Not all modules will be under
node_modules
, especially in scenaros where folks vendor modules into their own repo. We should support passing NODE_PATH as an env var ornodePaths
as config.The text was updated successfully, but these errors were encountered: