These are chat archives for AngularClass/angular2-webpack-starter

21st
Jan 2016
DavidXiao
@davidxiao
Jan 21 2016 08:04
blueimp-tmpl
rvalimaki
@rvalimaki
Jan 21 2016 09:17
Hi, trying to add jQuery, SASS & Bootstrap using directions from AngularClass/angular2-webpack-starter#215 . Everything works fine with dev mode, but somehow building in prod mode ends up with problems:

75% hashingC:\fastems\MMS5\MMS_NG\angular2-webpack-starter\node_modules\webpack-md5-hash\plugin\webpack_md5_hash.js:27
var source = chunk.modules.sort(compareModules).map(getModuleSource).reduce(concatenateSource);
^

TypeError: Reduce of empty array with no initial value
at Array.reduce (native)

also the plain webpack starter without adding jQuery, SASS & Bootstrap is working fine also with "npm run build:prod"
rvalimaki
@rvalimaki
Jan 21 2016 10:04
Oh well, might be related to missing new line after vendor.ts ;-)