How can I modify my .ts webpack loader so that instead of having a single main.[hash].js file with my app's code I can have a .js file for each .ts file?
Right now this is my webpack loader to handle .ts files:
output: {
filename: '[name].[hash].js',
},
resolve: {
extensions: ['', '.ts', '.js', '.json']
},
module: {
loaders: [
{
test: /\.ts$/,
exclude: [
'./node_modules'
],
loaders: ['awesome-typescript-loader', 'angular2-template-loader']
},
Thanks.
Edit: I'm actually looking to be able to search .ts files using google developers tools