TypeScript · Emit

mapRoot

Specify the location where debugger should locate map files instead of generated locations.

Syntax
"mapRoot": "value"

Example

Example
{
  "compilerOptions": {
    "mapRoot": "value"
  }
}

More in this group

declaration declarationDir declarationMap downlevelIteration emitBOM emitDeclarationOnly importHelpers inlineSourceMap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course