title: How to import modules in ecmascript-6?
body: <p>I want to import different module to my module in ecma script 6.
  For example:</p>
  
  <pre><code>import rest from 'rest';
  
  export function client() {
  
      // some logic
  
  }
  </code></pre>
  
  <p>If I will change the import statement to classic:</p>
  
  <pre><code>var rest = require('rest');
  </code></pre>
  
  <p>everything is working fine. Any ideas?</p>