|
|
|
|
|
by scottaj2
3801 days ago
|
|
>Tern supports node.js module loading so this should work across modules. This hasn't been my experience. I've tried various term commands and configuring tern to do things like eagerly loading project files, but it still only works for me in a single file. Do you have any links to docs on how to do this? |
|
{ "ecmaVersion": 6, "libs": [], "loadEagerly": [ "node_modules/lodash" ] }
I'm definitely getting lodash method lookups and they work well.
I hear it's not a good idea to throw all of node_modules at tern -- but the same applies for WebStorm.