I am using the 5 min quickstart from angular.io website, which contain a file structure like this:
angular2-quickstart
app
app.component.ts
boot.ts
i
For Angular 4 with files from quickstart, all I had to do was the following (a mix of the previously stated answers but slightly different values) :
"outDir": "../dist""baseDir": ["dist", "src"],"baseDir": ["dist", "src"],No change to systemjs.config.js.