title: Finishing up an aurelia application
body: <p>I'm currently preparing to release my first <a href="http://aurelia.io/" rel="nofollow">aurelia</a> based application. I've got nearly everything figured out, except some small details.</p>
  
  <h3>Loading css first</h3>
  
  <p>I found myself wanting to load some of the css before the application starts; specifically, animation logic for the loading div. I want this because otherwise the spinner won't spin. I know I can just include the spinner css separately, but I need (want) the animate lib anyway, so might as well add it. I've added the following to my index.html:</p>
  
  <pre><code>&lt;link href="jspm_packages/github/daneden/animate.css@3.4.0/animate.min.css" rel="stylesheet"&gt;
  &lt;link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet"&gt;
  &lt;link href="dist/styles/style.css" rel="stylesheet"/&gt;
  </code></pre>
  
  <p>This feels wrong for two reasons. First, I can bundle this css with aurelia-bundler, so shouldn't I? And secondly, which actually brings me to my next question...</p>
  
  <h3>What goes in VC?</h3>
  
  <p>animate is in jspm_packages, which feels like it shouldn't be in version control. However, I do need the file. So, I could perhaps opt to copy the file to <code>dist/</code> in my build process. This question also applies to the <code>dist/</code> dir, which now contains the bundled files (made by aurelia-bundler) as well as my static assets (less to css, optimized images and minified json files), but also the source files used for dev (es2015-compiled files). The dist dir is in .gitignore as well as jspm_packages. Images get loaded from <code>dist/</code> and so do stylesheets. <code>index.html</code> isn't in dist, so I can't use relative paths and simply make a build directory. I'm a bit stuck here.</p>
  
  <p><strong>Update</strong>: Another example of a file that should be deployed, is <code>jspm_packages/system.js</code>. That's in jspm_packages, which isn't in version control.</p>