title: React: Flow: Import a local js file - cannot resolve issue module
body: <p>I am using <a href="https://reactjs.org/docs/static-type-checking.html" rel="noreferrer">Flow: Static type checking library</a> for react front end application, it throws "cannot resolve" for internal imports from src directory:</p>
  
  <pre><code>Example in file at path: src/abc/def/ghi/hello.jsx, I am using the following import:
  import words from '../words';
  
  --&gt; Throws error "Cannot resolve module ../words
  
  words.js is in src/abc/def dir
  </code></pre>
  
  <p><strong>EDITED:</strong> 
  My .flowconfig looks like this after I installed flow-typed:</p>
  
  <pre><code>[ignore]
  .*/node_modules/.*
  .*/build/.*
  .*/dist/.*
  
  
  [include]
  .*/src/.*
  .*/test/.*
  
  [libs]
  flow-typed
  
  [lints]
  
  [options]
  all=true
  module.system.node.resolve_dirname=node_modules
  module.system.node.resolve_dirname=src
  
  [strict]
  </code></pre>
  
  <p>How do I map flow for such imports in .flowconfig file ?</p>
  
  <p>Thanks in advance.</p>