¿Alguien sabe cómo aplicar una configuración regional moment.js con AoT y rollup? En systemjs.config.js moment-with-locales.js definido no funciona con:
//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');y da el resultado predeterminado en 'en'.
En el resumen-config.js:
plugins: [ nodeResolve({jsnext: true, module: true}), commonjs({ include: [ 'node_modules/rxjs/**', 'node_modules/moment/min/**', ] }), uglify() ]