This .tern-project config works for me:<p><pre><code>  {
    &quot;libs&quot;: [
      &quot;browser&quot;
    ],
    &quot;plugins&quot;: {
      &quot;node&quot;: {},
      &quot;es_modules&quot;: {}
    }
  }
</code></pre>
Your project files must have &quot;correct&quot; format, e.g. <i>require(&#x27;relative_path&#x27;)</i> for imports and <i>module.exports</i>&#x2F;<i>exports</i> for exports (or es6 <i>import</i> and <i>export</i>). Example for AMD format (requireJS) can be found here - <a href="http:&#x2F;&#x2F;ternjs.net&#x2F;doc&#x2F;manual.html#configuration" rel="nofollow">http:&#x2F;&#x2F;ternjs.net&#x2F;doc&#x2F;manual.html#configuration</a>