title: Cannot import ES6 NPM module directly in to Ember CLI
body: <p>I'm trying to use <a href="https://github.com/d3/d3-arrays" rel="nofollow">d3-arrays</a> in a project. The module itself includes both original ES6 modules and a UMD build. I would expect to be able to add this directly as a dependency to my ember-cli project and have it available, but that is not the case.</p>
  
  <p>I've seen suggestions that are over a year old saying to use <code>ember-browserify</code>, and others suggesting making a shim, but AFAIK this would really only be ideal if it were a bower dependency, and bower seems to be on the way out.</p>
  
  <p>For the sake of correctness, how can I just import this module as though it were part of my project and use it as <code>import {mean} from 'd3-arrays</code> without needing to convert it to another package format first?</p>
  
  <p><strong>I've tried</strong> making a shim which just exports the imported UMD code:</p>
  
  <pre><code>// index.js
  var d3ArraysExports = require('d3-arrays');
  d3ArraysExports.name = 'd3-arrays-shim';
  module.exports = d3ArraysExports;
  </code></pre>
  
  <p>Ember finds this module just fine, but it never gets added to the require entries list.</p>
  
  <p><em>If there is some design decision in Ember CLI as to why this doesn't work, please point me to it.</em></p>