TypeScript tsconfig.json example to compile to view folder using requireJS import style.


Example

{
  "module": "amd",    // Using AMD module code generator which works with requireJS
  "rootDir": "./src", // Change this to your source folder
  "outDir": "./view",
    ...      
}