ts-loader, .
module: {
loaders: [
{test: /\.ts$/, loader: 'ts' },
{test: /\.css$/, loader: 'style!css'},
{test: /\.html/, loader: 'html'},
{test: /\.tsx?$/, loader: 'ts-loader'},
// {test: /\.tsx?$/, loader: 'awesome-typescript-loader'},
//{test: /\.(ico|png|jpg|gif|svg|eot|ttf|woff|woff2)(\?.+)?$/, loader: 'url?limit=50000'}
],
preLoaders: [
// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
{ test: /\.js$/, loader: 'source-map-loader' }
]
},