Conversation
josevalim
left a comment
There was a problem hiding this comment.
I think we should normalize all entries that are lists, not only NODE_PATH. WDYT?
|
I'm not sure, since this separator seems to be specific to Q: I'm adding a feature to an Elixir library to pass a list of strings to a CLI program's ENV variable NODE_PATH. It joins strings with ":" on unix and ";" on Windows. Is it reasonable to apply this joining to all environment variables configured as a list?
|
|
I've been thinking that maybe instead of applying this to config :esbuild,
profile: [
...,
node_paths: []
]and set NODE_PATH internally? |
Exactly, but we can assume that anything given as a list is meant to be a PATH-like variable. We could also set a special |
|
🙌🏻 |
No description provided.