Update angular2 to rc.5 and its router to rc.1.

Closes #70.
This commit is contained in:
József Farkas
2016-08-10 18:29:59 +02:00
parent 23b5dab284
commit baf55077ce
5 changed files with 48 additions and 21 deletions

View File

@@ -20,6 +20,17 @@ module.exports = {
]
},
module: {
preLoaders: [
{
test: /(.js|.ts)$/,
loader: 'string-replace-loader',
query: {
search: 'moduleId: module.id,',
replace: '',
flags: 'g'
}
}
],
loaders: [
{ test: /\.ts$/, loader: 'ts-loader', exclude: /node_modules/ },
{ test: /\.html$/, loader: 'html-loader' },