title: Install an NPM package without its optional modules in Ember-CLI
body: <p>I've got the NPM package <a href="https://github.com/SheetJS/js-xlsx" rel="nofollow noreferrer">xlsx</a> as a dependency in my ember app which comes with an optional module for translations. When I build my app with Ember-CLI I'd like to specify somehow that this optional module be excluded. </p>
  
  <p>The README for that package states “Webpack and browserify builds include optional modules by default. Webpack can be configured to remove support with resolve.alias:”</p>
  
  <p>I'm not sure how I could configure my ember-cli-build.js to work with this.</p>
  
  <p>I do know that I can download the package, build it myself, and then stick the resulting files in my vendor directory but this feels like the wrong way to go about it.</p>
  
  <p>Does anybody have experience with this sort of situation?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I'm currently including xlsx in my app as a dependency inside my package.json and simply importing it within one of my components.</p>