When working with Typescript, you have the option to create a folder with an index.ts file in it. This allows you to load the module simply by specifying the folder name. For instance:
src/
index.ts
..
you can use import * from './src';
to import the contents.
However, there is a challenge when using this approach with SystemJS (such as in Angular 2). SystemJS will search for src.js within the src folder. How can I configure SystemJS to look for either src.js or src/index.js instead?