title: What is the correct way to export a constant in ES6?
body: <p>I'm trying to break my entry file into components but I'm not sure how to make the constant available to the import. This is what I've tried so far and both seem to work:</p>
  
  <pre><code>export const ConnectedRange = connectRange(Range);
  
  exports.ConnectedRange = connectRange(Range);
  </code></pre>
  
  <p>I've seen the latter used in some npm packages but sure what to use?</p>
  
  <p>Thanks</p>