title: Angular 2 AoT rollup moment locale
body: <p>Does anybody know how apply a moment.js locale with AoT and rollup? 
  In systemjs.config.js defined moment-with-locales.js doesn't work with:   </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> //in systemjs.config.js.
  
  'moment': 'npm:moment/min/moment-with-locales.js',
  
  //in component:
  import moment from 'moment';
  
  this.moment.locale('de');
  let formattedDate = this.moment(value).format('L');</code></pre>
  </div>
  </div>
  </p>
  
  <p>and gives the default result in 'en'.</p>
  
  <p>In the rollup-config.js: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>plugins: [
          nodeResolve({jsnext: true, module: true}),
          commonjs({
              include: [
                  'node_modules/rxjs/**',
                  'node_modules/moment/min/**',
              ]
          }),
          uglify()
      ]</code></pre>
  </div>
  </div>
  </p>