webpack-node-externals
webpack-node-externals copied to clipboard
use proces.env.NODE_PATH when set to get node_modules path
the following line could check to see if proces.env.NODE_PATH. currently this must be done manually by the developer. https://github.com/liady/webpack-node-externals/blob/master/index.js#L56
@mattkime that sounds like a good idea. As I'm not very familiar with the NODE_PATH setting, can you give an example how to improve this check? (or better yet, a PR?) thanks!
@liady i'll make a pr. wanted to make sure there wasn't a specific reason for avoiding it. thanks!
@mattkime is this still relevant?
It is, apologies for forgetting about this.