mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
For Angular 2 template, compile directly from TS->ES5. Remove use of Babel altogether.
This commit is contained in:
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user