For Angular 2 template, compile directly from TS->ES5. Remove use of Babel altogether.

This commit is contained in:
SteveSandersonMS
2016-03-01 00:13:57 +00:00
parent bfc993af50
commit f830a5f90a
7 changed files with 674 additions and 12 deletions

View File

@@ -11,8 +11,7 @@ module.exports = merge({
},
module: {
loaders: [
{ test: /\.ts(x?)$/, include: /ClientApp/, loader: 'babel-loader' },
{ test: /\.ts(x?)$/, include: /ClientApp/, loader: 'ts-loader' },
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts-loader' },
{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' },
{ test: /\.css$/, include: /ClientApp/, loader: 'raw-loader' },
{ test: /\.html$/, loader: 'raw-loader' }